Fixed pointer signedness warning
authorSam Lantinga <slouken@libsdl.org>
Wed, 12 Oct 2016 00:01:17 -0700
changeset 105158e0673a4f46b
parent 10514 c2ad551770eb
child 10516 d1b9796a671d
Fixed pointer signedness warning
src/core/windows/SDL_windows.c
     1.1 --- a/src/core/windows/SDL_windows.c	Tue Oct 11 23:56:52 2016 -0700
     1.2 +++ b/src/core/windows/SDL_windows.c	Wed Oct 12 00:01:17 2016 -0700
     1.3 @@ -162,7 +162,7 @@
     1.4          return WIN_StringToUTF8(name);  /* No GUID, go with what we've got. */
     1.5      }
     1.6  
     1.7 -    ptr = (const char *) guid;
     1.8 +    ptr = (const unsigned char *) guid;
     1.9      SDL_snprintf(keystr, sizeof (keystr),
    1.10          "System\\CurrentControlSet\\Control\\MediaCategories\\{%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
    1.11          ptr[3], ptr[2], ptr[1], ptr[0], ptr[5], ptr[4], ptr[7], ptr[6],