VirtualBox

Changeset 96578 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Sep 2, 2022 11:48:36 AM (2 years ago)
Author:
vboxsync
Message:

IPRT: One incorrect RT_H2LE_U64 use and another one with a 0 constant causing warnings on sparc.

Location:
trunk/src/VBox/Runtime/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/efi/efivarstorevfs.cpp

    r96407 r96578  
    21072107    if (u16Chksum)
    21082108        return RTERRINFO_LOG_SET(pErrInfo, VERR_VFS_UNSUPPORTED_FORMAT, "Firmware volume header has incorrect checksum");
    2109     if (RT_LE2H_U64(pFvHdr->cbFvHdr) != cbFvHdr)
     2109    if (RT_LE2H_U16(pFvHdr->cbFvHdr) != cbFvHdr)
    21102110        return RTERRINFO_LOG_SET(pErrInfo, VERR_VFS_UNSUPPORTED_FORMAT, "Unexpected firmware volume header size");
    21112111
  • trunk/src/VBox/Runtime/common/fuzz/fuzz.cpp

    r96407 r96578  
    17031703        MutationState.u64IdParent = RT_H2LE_U64(pMutation->pMutationParent->Core.Key);
    17041704    else
    1705         MutationState.u64IdParent = RT_H2LE_U64(0);
     1705        MutationState.u64IdParent = 0;
    17061706    MutationState.u64OffMutation  = RT_H2LE_U64(pMutation->offMutation);
    17071707    MutationState.cbInput         = RT_H2LE_U64((uint64_t)pMutation->cbInput);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette