VirtualBox

Changeset 62343 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 20, 2016 9:02:26 AM (9 years ago)
Author:
vboxsync
Message:

Main: do not truncate uint16_t to uint8_t in usbsysfsReadDevicePropertyU16Def()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/USBGetDevices.cpp

    r60373 r62343  
    12621262 * @param   ...         Arguments for the format string.
    12631263 */
    1264 static uint8_t usbsysfsReadDevicePropertyU16Def(unsigned uBase, uint16_t u16Def, const char *pszFormat, ...)
     1264static uint16_t usbsysfsReadDevicePropertyU16Def(unsigned uBase, uint16_t u16Def, const char *pszFormat, ...)
    12651265{
    12661266    int64_t i64Tmp = 0;
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