summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 447f87d13..e6dd5514f 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -234,7 +234,7 @@ static IniFile *ini_load(const char *filename)
uint pos;
// add to comment
if (ns > a) {
- a = max(a, 128);
+ a = max(a, 128U);
do a*=2; while (a < ns);
ReallocT(&comment, comment_alloc = a);
}