- some GCC fixed by Edward-san.

This commit is contained in:
Christoph Oelckers 2015-04-29 11:28:04 +02:00
commit 7b6b473ec4
10 changed files with 33 additions and 15 deletions

View file

@ -3130,7 +3130,7 @@ FxExpression *FxVMFunctionCall::Resolve(FCompileContext& ctx)
return NULL;
}
TArray<PType *> &rets = Function->Variants[0].Proto->ReturnTypes;
if (rets.Size() == NULL)
if (rets.Size() == 0)
{
ReturnType = TypeVoid;
}