Win32 fixes
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401514
This commit is contained in:
parent
dda2653f17
commit
d99aa28246
7 changed files with 10 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue