From 89bef4096159729dcbbfb0a87092e9a2d163c663 Mon Sep 17 00:00:00 2001 From: Jeff Bolz Date: Mon, 2 Mar 2020 09:43:49 -0600 Subject: Fix max enum value --- tools/buildHeaders/bin/generate_language_headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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' -- cgit v1.2.3