diff options
author | José Fonseca <[email protected]> | 2010-06-14 17:11:21 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-06-14 17:11:21 +0100 |
commit | 27fafa2587287562f58de6f00799d7a6d2adf9b2 (patch) | |
tree | 861433cc0eb7c007062176a51bfeb192f149beba /src/gallium/auxiliary | |
parent | 4d2407699ba043735b5fbd5c20fc5ccbff32c948 (diff) |
util: Use int type for format field width.
As suggested by gcc warning.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index 954f5706ef3..5e373ff24c4 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/util/u_debug.c @@ -195,7 +195,7 @@ debug_get_flags_option(const char *name, namealign = MAX2(namealign, strlen(flags->name)); for (flags = orig; flags->name; ++flags) debug_printf("| %*s [0x%0*lx]%s%s\n", namealign, flags->name, - sizeof(unsigned long)*CHAR_BIT/4, flags->value, + (int)sizeof(unsigned long)*CHAR_BIT/4, flags->value, flags->desc ? " " : "", flags->desc ? flags->desc : ""); } else { |