From b11b997d5995cca3e2b870b379637ec20617ba9c Mon Sep 17 00:00:00 2001
From: David Neto <dneto@google.com>
Date: Tue, 8 Jan 2019 18:57:03 -0500
Subject: [PATCH] Parenthesize to avoid GCC warning

---
 glslang/Include/Types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glslang/Include/Types.h b/glslang/Include/Types.h
index eb57c3a0f..edd5cfc71 100644
--- a/glslang/Include/Types.h
+++ b/glslang/Include/Types.h
@@ -2003,7 +2003,7 @@ public:
     {
         // Most commonly, they are both nullptr, or the same pointer to the same actual structure
         if ((!isStruct() && !right.isStruct()) ||
-            isStruct() && right.isStruct() && structure == right.structure)
+            (isStruct() && right.isStruct() && structure == right.structure))
             return true;
 
         // Both being nullptr was caught above, now they both have to be structures of the same number of elements
-- 
GitLab