Patches 1 & 2 are

Reviewed-by: Nicolai Hähnle <[email protected]>

On 20.01.2016 20:14, Jeremy Huddleston Sequoia wrote:
main/shaderapi.c:1318:51: warning: format specifies type 'unsigned int' but the 
argument has type 'GLhandleARB' (aka 'unsigned long') [-Wformat]
       _mesa_debug(ctx, "glDeleteObjectARB(%u)\n", obj);
                                           ~~      ^~~
                                           %lu

Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
---
  src/mesa/main/shaderapi.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 9512e3b..a988f41 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -1315,7 +1315,7 @@ _mesa_DeleteObjectARB(GLhandleARB obj)
  {
     if (MESA_VERBOSE & VERBOSE_API) {
        GET_CURRENT_CONTEXT(ctx);
-      _mesa_debug(ctx, "glDeleteObjectARB(%u)\n", obj);
+      _mesa_debug(ctx, "glDeleteObjectARB(%lu)\n", (unsigned long)obj);
     }

     if (obj) {

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to