Fixes sign-compare warnings
This commit is contained in:
parent
a1494e938a
commit
9b0f5d9b0d
41 changed files with 109 additions and 108 deletions
|
|
@ -577,9 +577,9 @@ VMFrame *VMFrameStack::PopFrame()
|
|||
|
||||
void VMCheckParamCount(VMFunction* func, int retcount, int argcount)
|
||||
{
|
||||
if (func->Proto->ReturnTypes.Size() != retcount)
|
||||
if (func->Proto->ReturnTypes.SSize() != retcount)
|
||||
I_FatalError("Incorrect return value passed to %s", func->PrintableName);
|
||||
if (func->Proto->ArgumentTypes.Size() != argcount)
|
||||
if (func->Proto->ArgumentTypes.SSize() != argcount)
|
||||
I_FatalError("Incorrect parameter count passed to %s", func->PrintableName);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue