mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
util: Add cast.
It is expected to loose precision here.
This commit is contained in:
parent
21bfd0f4bd
commit
8f382fd3f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue