summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeff Bolz <jbolz@nvidia.com>2020-03-02 09:43:49 -0600
committerJeff Bolz <jbolz@nvidia.com>2020-03-04 12:45:28 -0600
commit89bef4096159729dcbbfb0a87092e9a2d163c663 (patch)
tree084fff7cd4d4e38d0f8ff2f03a1bc12075843de8 /tools
parent0a7fc45259910f07f00c5a3fa10be5678bee1f83 (diff)
downloadSPIRV-Headers-89bef4096159729dcbbfb0a87092e9a2d163c663.tar.gz
SPIRV-Headers-89bef4096159729dcbbfb0a87092e9a2d163c663.tar.bz2
SPIRV-Headers-89bef4096159729dcbbfb0a87092e9a2d163c663.zip
Fix max enum value
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildHeaders/bin/generate_language_headers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildHeaders/bin/generate_language_headers.py b/tools/buildHeaders/bin/generate_language_headers.py
index f43e52d..c56780c 100755
--- a/tools/buildHeaders/bin/generate_language_headers.py
+++ b/tools/buildHeaders/bin/generate_language_headers.py
@@ -184,7 +184,7 @@ class CLikeGenerator(LangGenerator):
return 'enum {}{} {}'.format(prefix, name, '{')
def enum_end(self, prefix, enum):
- return ' {}{}Max = 0x7ffffff\n{};\n'.format(prefix, enum, '}')
+ return ' {}{}Max = 0x7fffffff\n{};\n'.format(prefix, enum, '}')
def cpp_guard_preamble(self):
return '#ifdef __cplusplus\nextern "C" {\n#endif\n'