diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-01-22 02:49:53 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-01-22 02:49:53 +0000 |
commit | d264279e28002d81821c883795911844a4c01a2c (patch) | |
tree | b0481616eda55b543a0dc1487d096c3239885c41 /lib/mesa/src/gallium/tests/graw | |
parent | fdcc03929065b5bf5dd93553db219ea3e05c8c34 (diff) |
Merge Mesa 19.2.8
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw')
-rw-r--r-- | lib/mesa/src/gallium/tests/graw/occlusion-query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/tests/graw/occlusion-query.c b/lib/mesa/src/gallium/tests/graw/occlusion-query.c index 444b645ca..1232c5bb4 100644 --- a/lib/mesa/src/gallium/tests/graw/occlusion-query.c +++ b/lib/mesa/src/gallium/tests/graw/occlusion-query.c @@ -2,6 +2,7 @@ */ #include <stdio.h> +#include <inttypes.h> #include "graw_util.h" @@ -187,7 +188,7 @@ draw(void) info.ctx->get_query_result(info.ctx, q1, TRUE, &res1); info.ctx->get_query_result(info.ctx, q2, TRUE, &res2); - printf("result1 = %lu result2 = %lu\n", res1.u64, res2.u64); + printf("result1 = %" PRIu64 " result2 = %" PRIu64 "\n", res1.u64, res2.u64); if (res1.u64 < expected1_min || res1.u64 > expected1_max) printf(" Failure: result1 should be near %d\n", expected1); if (res2.u64 < expected2_min || res2.u64 > expected2_max) |