From acbfcb7105ddc1475c1ffb354605c0337008d001 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Thu, 14 Sep 2017 10:26:39 +0300 Subject: [PATCH] i965: fix build warning on clang MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 change turning in to another warning: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') Signed-off-by: Tapani Pälli Reviewed-by: Jordan Justen --- src/mesa/drivers/dri/i965/brw_bufmgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index 801721991f4..44aaf02ca9f 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -396,7 +396,8 @@ retry: pthread_mutex_unlock(&bufmgr->lock); - DBG("bo_create: buf %d (%s) %ldb\n", bo->gem_handle, bo->name, size); + DBG("bo_create: buf %d (%s) %llub\n", bo->gem_handle, bo->name, + (unsigned long long) size); return bo; -- 2.30.2