branch | stable-2.0 |
changeset 1014 | 2a649b61434c |
parent 828 | ee871d51510d |
child 1095 | 69b884a15de1 |
--- a/physfs_unicode.c Sun Sep 06 01:06:14 2009 -0400 +++ b/physfs_unicode.c Wed Sep 30 01:47:49 2009 -0400 @@ -308,7 +308,7 @@ len--; \ while (len) \ { \ - const PHYSFS_uint32 cp = (PHYSFS_uint32) *(src++); \ + const PHYSFS_uint32 cp = (PHYSFS_uint32) ((typ) (*(src++))); \ if (cp == 0) break; \ utf8fromcodepoint(cp, &dst, &len); \ } \