mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
st/mesa: fix debug_printf() format string warning
Use %td for ptrdiff_t (aka GLsizeiptrARB).
This commit is contained in:
parent
0d760a8160
commit
840d6faf68
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ st_bufferobj_data(struct gl_context *ctx,
|
|||
pipe_resource_reference( &st_obj->buffer, NULL );
|
||||
|
||||
if (ST_DEBUG & DEBUG_BUFFER) {
|
||||
debug_printf("Create buffer size %lu bind 0x%x\n", size, bind);
|
||||
debug_printf("Create buffer size %td bind 0x%x\n", size, bind);
|
||||
}
|
||||
|
||||
if (size != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue