summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-06-10 15:36:55 +0200
committerMichael Lutz <michi@icosahedron.de>2018-06-15 22:36:55 +0200
commit836d25e738b78d1c8820ecab1f7bd90b0833ca17 (patch)
tree52cebab20848232e338640182f5e7c18a611a93f /src/3rdparty/squirrel
parentf5f2125238187eb7b8fa5c5e93a31027338ce240 (diff)
downloadopenttd-836d25e738b78d1c8820ecab1f7bd90b0833ca17.tar.xz
Codechange: Address some MSVC compiler warnings
Diffstat (limited to 'src/3rdparty/squirrel')
-rw-r--r--src/3rdparty/squirrel/squirrel/sqdebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/squirrel/squirrel/sqdebug.cpp b/src/3rdparty/squirrel/squirrel/sqdebug.cpp
index b163fae52..2f24e83b6 100644
--- a/src/3rdparty/squirrel/squirrel/sqdebug.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqdebug.cpp
@@ -115,7 +115,7 @@ void SQVM::Raise_ParamTypeError(SQInteger nparam,SQInteger typemask,SQInteger ty
SQInteger found = 0;
for(SQInteger i=0; i<16; i++)
{
- SQInteger mask = 0x00000001 << i;
+ SQInteger mask = 0x00000001LL << i;
if(typemask & (mask)) {
if(found>0) StringCat(exptypes,SQString::Create(_ss(this), "|", -1), exptypes);
found ++;