git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31087
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
\r
#include <vector>\r
#include <iostream>\r
-#include <cassert>\r
+#include <assert.h>\r
\r
namespace spv {\r
\r
case CPP_UINTCONSTANT:
strcpy(ppToken->name, tokenText);
if (len > 0 && tokenText[0] == '0') {
- if (len > 1 && tokenText[1] == 'x' || tokenText[1] == 'X')
+ if (len > 1 && (tokenText[1] == 'x' || tokenText[1] == 'X'))
ppToken->ival = strtol(ppToken->name, 0, 16);
else
ppToken->ival = strtol(ppToken->name, 0, 8);