From a3f53e54d232f3bb345b501ab30a01a5507e5b4e Mon Sep 17 00:00:00 2001 From: Mark Adams Date: Thu, 3 Dec 2015 15:31:58 -0500 Subject: [PATCH] Fix ordered pointer comparison build warning/error --- glslang/MachineIndependent/SymbolTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/SymbolTable.cpp b/glslang/MachineIndependent/SymbolTable.cpp index c0be925..092fe20 100644 --- a/glslang/MachineIndependent/SymbolTable.cpp +++ b/glslang/MachineIndependent/SymbolTable.cpp @@ -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; -- 2.7.4