mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
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 <jeremyhu@apple.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
a087a09fa8
commit
b20d6bf96d
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue