diff options
author | José Fonseca <[email protected]> | 2009-06-18 14:47:30 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-06-18 14:54:09 +0100 |
commit | 8f382fd3f396e182255fe084bc32648b98ca1d94 (patch) | |
tree | 84d23586f8e932cbfe9b2fa38512b8bb04a15fb0 /src/gallium/auxiliary/util/u_snprintf.c | |
parent | 21bfd0f4bdd4222346c7f2db956e7fc1645d2130 (diff) |
util: Add cast.
It is expected to loose precision here.
Diffstat (limited to 'src/gallium/auxiliary/util/u_snprintf.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_snprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_snprintf.c b/src/gallium/auxiliary/util/u_snprintf.c index 0d54299b28a..65bdd0df2b7 100644 --- a/src/gallium/auxiliary/util/u_snprintf.c +++ b/src/gallium/auxiliary/util/u_snprintf.c @@ -829,7 +829,7 @@ util_vsnprintf(char *str, size_t size, const char *format, va_list args) break; default: intptr = va_arg(args, int *); - *intptr = len; + *intptr = (int)len; break; } break; |