VirtualBox

Ignore:
Timestamp:
Aug 6, 2016 2:35:30 PM (8 years ago)
Author:
vboxsync
Message:

vboxmrxnp.cpp/vboxToUpper: Should probably use the CharUpperW variant, since we give it a WCHAR and expect a WCHAR return.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/np/vboxmrxnp.cpp

    r63084 r63085  
    3939#define WNNC_DRIVER(major, minor) (major * 0x00010000 + minor)
    4040
     41
    4142static WCHAR vboxToUpper(WCHAR wc)
    4243{
     
    4546     * parameter is zero, the low-order word must contain a single character to be converted.
    4647     */
    47     return (WCHAR)(uintptr_t)CharUpper((LPTSTR)(uintptr_t)wc);
     48    return (WCHAR)(uintptr_t)CharUpperW((LPWSTR)(uintptr_t)wc);
    4849}
    4950
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