VirtualBox

Ignore:
Timestamp:
May 16, 2023 12:05:16 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157425
Message:

*: Adjustments necessary for dropping -Zc:wchar_t- on windows and instead let the C++ compiler use the native wchar_t type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp

    r98103 r99802  
    922922
    923923    PUSB_STRING_DESCRIPTOR pLangStrDr = &(*ppList)->StrDr;
    924     USHORT *pIdLang = pLangStrDr->bString;
     924    USHORT *pIdLang = (USHORT *)pLangStrDr->bString;
    925925    ULONG cIdLang = (pLangStrDr->bLength - RT_OFFSETOF(USB_STRING_DESCRIPTOR, bString)) / sizeof (*pIdLang);
    926926
Note: See TracChangeset for help on using the changeset viewer.

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