[Mesa-dev] [PATCH] i965: fix build warning on clang
Matt Turner
mattst88 at gmail.com
Fri Sep 15 16:40:59 UTC 2017
On Thu, Sep 14, 2017 at 12:26 AM, Tapani Pälli <tapani.palli at intel.com> wrote:
> fixes following warning:
> warning: format specifies type 'long' but the argument has type 'uint64_t' (aka 'unsigned long long')
>
> cast is needed to avoid this turning in to another warning on 32bit build:
> warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long')
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Don't you just want to use one of the PRI* format specifiers in inttypes.h?
More information about the mesa-dev
mailing list