[Piglit] [PATCH 5/5] cl: Fix format warning

Jan Vesely jan.vesely at rutgers.edu
Wed Dec 3 12:53:32 PST 2014


Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
 tests/util/piglit-util-cl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/util/piglit-util-cl.c b/tests/util/piglit-util-cl.c
index 5ac20a8..47e0c7a 100644
--- a/tests/util/piglit-util-cl.c
+++ b/tests/util/piglit-util-cl.c
@@ -109,7 +109,7 @@ piglit_cl_probe_double(double value, double expect, uint64_t ulp)
 	diff = fabsl(value - expect);
 
 	if(diff > ulp || isnan(value)) {
-		printf("Expecting %f (0x%lx) with tolerance %f (%u ulps), but got %f (0x%lx)\n",
+		printf("Expecting %f (0x%lx) with tolerance %f (%lu ulps), but got %f (0x%lx)\n",
 		       e.f, e.u, t.f, t.u, v.f, v.u);
 		return false;
 	}
-- 
1.9.3



More information about the Piglit mailing list