aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glX_proto_size.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glX_proto_size.py')
-rw-r--r--src/mesa/glapi/glX_proto_size.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glX_proto_size.py b/src/mesa/glapi/glX_proto_size.py
index ad9f44ecf1d..81a98423a4b 100644
--- a/src/mesa/glapi/glX_proto_size.py
+++ b/src/mesa/glapi/glX_proto_size.py
@@ -450,7 +450,7 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common):
print ''
print '#if defined(linux)'
print '# include <byteswap.h>'
- print '# define SWAP_32(v) do { (v) = bswap_32(v)); } while(0)'
+ print '# define SWAP_32(v) do { (v) = bswap_32(v); } while(0)'
print '#else'
print '# include <X11/misc.h>'
print '# define SWAP_32(v) do { char tmp; swapl(&v, tmp); } while(0)'