Browse Source

Fixed windows build

Sam Lantinga 2 years ago
parent
commit
1ef18c7677
1 changed files with 1 additions and 1 deletions
  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