On 09/15/2017 07:40 PM, Matt Turner wrote:
On Thu, Sep 14, 2017 at 12:26 AM, Tapani Pälli <tapani.pa...@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.pa...@intel.com>

Don't you just want to use one of the PRI* format specifiers in inttypes.h?


That is true, I did not remember those existed. I pushed this already but can send a cleanup patch later to use PRIu64.

Thanks;

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

Reply via email to