mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 17:16:19 -05:00
Win32 fixes
This commit is contained in:
@@ -401,7 +401,7 @@ size_t SDL_iconv(SDL_iconv_t cd,
|
||||
if ( srclen < 2 ) {
|
||||
return SDL_ICONV_EINVAL;
|
||||
}
|
||||
p = src;
|
||||
p = (Uint8 *)src;
|
||||
W2 = ((Uint32)p[0] << 8) |
|
||||
(Uint32)p[1];
|
||||
src += 2;
|
||||
@@ -442,7 +442,7 @@ size_t SDL_iconv(SDL_iconv_t cd,
|
||||
if ( srclen < 2 ) {
|
||||
return SDL_ICONV_EINVAL;
|
||||
}
|
||||
p = src;
|
||||
p = (Uint8 *)src;
|
||||
W2 = ((Uint32)p[1] << 8) |
|
||||
(Uint32)p[0];
|
||||
src += 2;
|
||||
|
||||
@@ -661,7 +661,7 @@ int SDL_strncmp(const char *str1, const char *str2, size_t maxlen)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_STRCASECMP) && !defined(HAVE_STRICMP)
|
||||
#if !defined(HAVE_STRCASECMP) && !defined(HAVE__STRICMP)
|
||||
int SDL_strcasecmp(const char *str1, const char *str2)
|
||||
{
|
||||
char a = 0;
|
||||
|
||||
Reference in New Issue
Block a user