diff options
author | Jeremy Huddleston Sequoia <[email protected]> | 2016-01-20 17:03:26 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <[email protected]> | 2016-01-21 09:18:06 -0800 |
commit | b20d6bf96d8a751cdc2ec36886c9c47d6e93a8ef (patch) | |
tree | 9fa34946a40936f2b1df5b76d49f62aa50813bb6 | |
parent | a087a09fa86f9617af98f6294dd2228555a4891c (diff) |
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 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |