diff options
author | Zack Rusin <zackr@vmware.com> | 2013-11-19 22:38:28 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2013-11-19 22:38:28 -0500 |
commit | ac854f29d67a524066ec9921791a132c33b5831f (patch) | |
tree | 79a11b09976f0266c19bd19cab874758403513b4 | |
parent | 98ecab3785a4dd742f7a519d6eeeb3e0a53bc71f (diff) | |
download | mesa-ac854f29d67a524066ec9921791a132c33b5831f.tar.gz |
llvmpipe: fix the int64_t printing warnings
we need to use the standard defines from inttypes.h in order
to consistently avoid the compile warnings.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 62d285572ac..0062ebbf61d 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -40,6 +40,8 @@ #include "lp_state_setup.h" #include "lp_context.h" +#include <inttypes.h> + #define NUM_CHANNELS 4 /* TODO */ @@ -497,19 +499,19 @@ do_triangle_ccw(struct lp_setup_context *setup, #endif if (0) { - debug_printf("p0: %16lx/%08x/%08x/%16lx\n", + debug_printf("p0: %"PRIx64"/%08x/%08x/%"PRIx64"\n", plane[0].c, plane[0].dcdx, plane[0].dcdy, plane[0].eo); - debug_printf("p1: %16lx/%08x/%08x/%16lx\n", + debug_printf("p1: %"PRIx64"/%08x/%08x/%"PRIx64"\n", plane[1].c, plane[1].dcdx, plane[1].dcdy, plane[1].eo); - debug_printf("p2: %16lx/%08x/%08x/%16lx\n", + debug_printf("p2: %"PRIx64"/%08x/%08x/%"PRIx64"\n", plane[2].c, plane[2].dcdx, plane[2].dcdy, |