Commit c9d6477e by John Kessenich

Merge pull request #108 from mgadams/extensions_compile_fix

Fix ordered pointer comparison build warning/error
parents bd0726be a3f53e54
...@@ -269,7 +269,7 @@ TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) ...@@ -269,7 +269,7 @@ TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
numExtensions = 0; numExtensions = 0;
extensions = 0; extensions = 0;
if (copyOf.extensions > 0) if (copyOf.extensions != 0)
setExtensions(copyOf.numExtensions, copyOf.extensions); setExtensions(copyOf.numExtensions, copyOf.extensions);
returnType.deepCopy(copyOf.returnType); returnType.deepCopy(copyOf.returnType);
mangledName = copyOf.mangledName; mangledName = copyOf.mangledName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment