diff options
author | Dave Airlie <[email protected]> | 2014-09-02 10:03:00 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-09-02 10:07:54 +1000 |
commit | 32a8b2cf548ae04374b6497a0c4b1c7f1a4339ec (patch) | |
tree | 5c7bec221afe0680503da3d550c3345c46fadd06 /src/gallium/state_trackers | |
parent | ea88b1de2fb589221b2d12595706daf712e4abd8 (diff) |
xvmc/tests: %C isn't a valid printf specifier.
Reported-by: Coverity scanner.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/xvmc/tests/test_subpicture.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]); |