summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 1a3bb92b9..05b7e6b57 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -1049,7 +1049,7 @@ const char* parse_simpleexpr(const char *p)
i = INT_MAX;
disp_warning_message("parse_simpleexpr: overflow detected, capping value to INT_MAX",p);
}
- add_scripti(i);
+ add_scripti((int)i);
p=np;
} else if(*p=='"'){
add_scriptc(C_STR);