summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c
index 229f228c4..e021418b5 100644
--- a/settings.c
+++ b/settings.c
@@ -550,7 +550,7 @@ static const void *string_to_val(const SettingDesc *desc, const char *str)
switch (GetSettingGenericType(desc)) {
case SDT_NUMX: {
char *end;
- uint32 val = strtoul(str, &end, 0);
+ unsigned long val = strtoul(str, &end, 0);
if (*end != '\0') ShowInfoF("ini: trailing characters at end of setting '%s'", desc->name);
return (void*)val;
}