Merge pull request #108 from mgadams/extensions_compile_fix

Fix ordered pointer comparison build warning/error
This commit is contained in:
John Kessenich 2015-12-03 17:56:53 -07:00
commit c9d6477ee2

View File

@ -269,7 +269,7 @@ TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
numExtensions = 0;
extensions = 0;
if (copyOf.extensions > 0)
if (copyOf.extensions != 0)
setExtensions(copyOf.numExtensions, copyOf.extensions);
returnType.deepCopy(copyOf.returnType);
mangledName = copyOf.mangledName;