Selaa lähdekoodia

Fixed windows build

Sam Lantinga 1 vuosi sitten
vanhempi
commit
1ef18c7677
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/hidapi/SDL_hidapi_windows.h

+ 1 - 1
src/hidapi/SDL_hidapi_windows.h

@@ -26,7 +26,7 @@
 #define malloc      SDL_malloc
 #define memcmp      SDL_memcmp
 #define swprintf    SDL_swprintf
-#define towupper    SDL_toupper
+#define towupper    (wchar_t)SDL_toupper
 #define wcscmp      SDL_wcscmp
 #define _wcsdup     SDL_wcsdup
 #define wcslen      SDL_wcslen