diff options
author | Haru <haru@dotalux.com> | 2013-08-27 00:26:20 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-08-27 00:26:20 +0200 |
commit | 184ad8a5c0c7930d73572156006a1ad069f86764 (patch) | |
tree | 783cf61e323ca435adc2aa1e81dabd8db38d7d40 /src/map/script.c | |
parent | 3d19c2df4007f2d31cd8efd0c5e89d787f4cb13e (diff) | |
download | hercules-184ad8a5c0c7930d73572156006a1ad069f86764.tar.gz hercules-184ad8a5c0c7930d73572156006a1ad069f86764.tar.bz2 hercules-184ad8a5c0c7930d73572156006a1ad069f86764.tar.xz hercules-184ad8a5c0c7930d73572156006a1ad069f86764.zip |
Silenced a MSVC warning about int64->int32 conversion
Follow-up to 8351881. Thanks to Takkun for the report
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
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); |