On 10 February 2018 at 16:33, Eric Anholt <e...@anholt.net> wrote:
> My build was producing:
>
> ../src/loader/loader.c:121:67: warning: ā€˜%1uā€™ directive output may be 
> truncated writing between 1 and 3 bytes into a region of size 2 
> [-Wformat-truncation=]
>
> and we can avoid this careful calculation by just using asprintf (as we do
> elsewhere in the file).
>
From vague memory - some strange platforms were missing asprintf.
But since we already use it throughout (the file and mesa) everything
should be fine.

Reviewed-by: Emil Velikov <emil.veli...@collabora.com>

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to