summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorLudovic Pouzenc <lpouzenc@gmail.com>2013-07-20 12:22:01 +0200
committerLudovic Pouzenc <lpouzenc@gmail.com>2013-07-20 12:22:01 +0200
commit5d0b6e197f11004753484ad383d66fe0c3588857 (patch)
tree352680b8d6cc9e3ecf5fa93df8465af22b3ca36d /src/parser.c
parent2dc612b3115e7391582a526be524971e19078425 (diff)
downloadmplemmings-5d0b6e197f11004753484ad383d66fe0c3588857.tar.gz
mplemmings-5d0b6e197f11004753484ad383d66fe0c3588857.tar.bz2
mplemmings-5d0b6e197f11004753484ad383d66fe0c3588857.zip
Correction uint32_t -> Uint32. Debut conversion paint_terrain, ya du
taff...
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c4
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) {