Codechange: Address some MSVC compiler warnings

This commit is contained in:
Niels Martin Hansen
2018-06-10 15:36:55 +02:00
committed by Michael Lutz
parent f5f2125238
commit 836d25e738
3 changed files with 7 additions and 7 deletions

View File

@@ -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 ++;