glapi: Fix compiler warning and script name
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 13 Aug 2014 20:47:28 +0000 (16:47 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 23 Oct 2014 15:03:16 +0000 (16:03 +0100)
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mapi/glapi/gen/gl_gentable.py

index deffcee4d17c1293f57e201720c6f668a1279c92..06a5ebf049f59ff98834e0d3906439551110c5b9 100644 (file)
@@ -100,7 +100,7 @@ static void
 __glapi_gentable_set_remaining_noop(struct _glapi_table *disp) {
     GLuint entries = _glapi_get_dispatch_table_size();
     void **dispatch = (void **) disp;
-    int i;
+    unsigned i;
 
     /* ISO C is annoying sometimes */
     union {_glapi_proc p; void *v;} p;
@@ -147,7 +147,7 @@ class PrintCode(gl_XML.gl_print_base):
     def __init__(self):
         gl_XML.gl_print_base.__init__(self)
 
-        self.name = "gl_gen_table.py (from Mesa)"
+        self.name = "gl_gentable.py (from Mesa)"
         self.license = license.bsd_license_template % ( \
 """Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
 (C) Copyright IBM Corporation 2004, 2005