Properly cast arguments to printf to match the intended output.

This commit is contained in:
Gerald Pfeifer 2000-06-25 12:50:31 +00:00 committed by Alexandre Julliard
parent 737db5fce2
commit 67263a3ec8
1 changed files with 4 additions and 4 deletions

View File

@ -223,10 +223,10 @@ void _dump_pixelformat(void *in) {
_dump_pixelformat_flag(pf->dwFlags); _dump_pixelformat_flag(pf->dwFlags);
if (pf->dwFlags & DDPF_FOURCC) { if (pf->dwFlags & DDPF_FOURCC) {
DPRINTF(", dwFourCC : %c%c%c%c", DPRINTF(", dwFourCC : %c%c%c%c",
(pf->dwFourCC>>24)&0xff, (unsigned char)((pf->dwFourCC>>24)&0xff),
(pf->dwFourCC>>16)&0xff, (unsigned char)((pf->dwFourCC>>16)&0xff),
(pf->dwFourCC>> 8)&0xff, (unsigned char)((pf->dwFourCC>> 8)&0xff),
pf->dwFourCC &0xff (unsigned char)( pf->dwFourCC &0xff)
); );
} }
if (pf->dwFlags & DDPF_RGB) { if (pf->dwFlags & DDPF_RGB) {