VirtualBox

Ignore:
Timestamp:
Jan 22, 2023 11:01:17 PM (2 years ago)
Author:
vboxsync
Message:

Add/VbglR3: Applied same VERR_WRONG_PARAMETER_TYPE and always setting the return value logic to VbglHGCMParmUInt32Get and VbglHGCMParmUInt64Get. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibInternal.h

    r98103 r98218  
    7979        return VINF_SUCCESS;
    8080    }
    81     return VERR_INVALID_PARAMETER;
     81    *pu32 = UINT32_MAX; /* shut up gcc */
     82    return VERR_WRONG_PARAMETER_TYPE;
    8283}
    8384
     
    9798        return VINF_SUCCESS;
    9899    }
    99     return VERR_INVALID_PARAMETER;
     100    *pu64 = UINT64_MAX; /* shut up gcc */
     101    return VERR_WRONG_PARAMETER_TYPE;
    100102}
    101103
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