util: Add cast.

It is expected to loose precision here.
This commit is contained in:
José Fonseca 2009-06-18 14:47:30 +01:00
parent 21bfd0f4bd
commit 8f382fd3f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;