From: Jeremy Huddleston Sequoia Date: Thu, 21 Jan 2016 01:03:26 +0000 (-0800) Subject: mesa: Fix format warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b20d6bf96d8a751cdc2ec36886c9c47d6e93a8ef;p=mesa.git mesa: Fix format warnings 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 Reviewed-by: Nicolai Hähnle --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 9512e3b3df5..a988f41697b 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) {