diff options
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c index d34197d..027d1fc 100644 --- a/src/parser.c +++ b/src/parser.c @@ -113,12 +113,12 @@ int loadIni(enum ini_type type, const char *filepath, gameIni_t *ini) { return res; } -uint32_t hextext2rgb(const char str[]) { +Uint32 hextext2rgb(const char str[]) { int res; unsigned int val; res=SDL_sscanf(str,"0x%x",&val); // Default value to opaque white. Should be visible on screen if problem with that - return (res!=1)?0xffffffff:(uint32_t)val; + return (res!=1)?0xffffffff:(Uint32)val; } int callback_ini_style(const mTCHAR *section, const mTCHAR *key, const mTCHAR *value, const void *userData) { |