diff options
author | José Fonseca <[email protected]> | 2010-08-21 10:38:22 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-21 10:38:22 +0100 |
commit | 121aa3cfcb106be1ecaae102177bb882bfbce9d9 (patch) | |
tree | 472d68142b25c0bbcdb465ace7499362360d1570 /src/gallium/auxiliary/util | |
parent | a5888d3113f4d1010c38f5925da912f08cfae519 (diff) |
util: Match printf format to silence warning.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug_describe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_describe.c b/src/gallium/auxiliary/util/u_debug_describe.c index 5c7808f7ecd..343358d0c46 100644 --- a/src/gallium/auxiliary/util/u_debug_describe.c +++ b/src/gallium/auxiliary/util/u_debug_describe.c @@ -13,7 +13,7 @@ void debug_describe_resource(char* buf, const struct pipe_resource *ptr) { if(ptr->target == PIPE_BUFFER) - util_sprintf(buf, "pipe_buffer<%u>", util_format_get_stride(ptr->format, ptr->width0)); + util_sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); else if(ptr->target == PIPE_TEXTURE_1D) util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); else if(ptr->target == PIPE_TEXTURE_2D) |