From 32a8b2cf548ae04374b6497a0c4b1c7f1a4339ec Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 2 Sep 2014 10:03:00 +1000 Subject: xvmc/tests: %C isn't a valid printf specifier. Reported-by: Coverity scanner. Signed-off-by: Dave Airlie --- src/gallium/state_trackers/xvmc/tests/test_subpicture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/state_trackers/xvmc') diff --git a/src/gallium/state_trackers/xvmc/tests/test_subpicture.c b/src/gallium/state_trackers/xvmc/tests/test_subpicture.c index 8bd4d6d7a08..ae0bc8b5a73 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_subpicture.c +++ b/src/gallium/state_trackers/xvmc/tests/test_subpicture.c @@ -36,7 +36,7 @@ static void PrintGUID(const char *guid) int i; printf("\tguid: "); for (i = 0; i < 4; ++i) - printf("%C,", guid[i] == 0 ? '0' : guid[i]); + printf("%c,", guid[i] == 0 ? '0' : guid[i]); for (; i < 15; ++i) printf("%x,", (unsigned char)guid[i]); printf("%x\n", (unsigned int)guid[15]); @@ -47,7 +47,7 @@ static void PrintComponentOrder(const char *co) int i; printf("\tcomponent_order:\n\t "); for (i = 0; i < 4; ++i) - printf("%C,", co[i] == 0 ? '0' : co[i]); + printf("%c,", co[i] == 0 ? '0' : co[i]); for (; i < 31; ++i) printf("%x,", (unsigned int)co[i]); printf("%x\n", (unsigned int)co[31]); -- cgit v1.2.3