Commit 67263a3e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Properly cast arguments to printf to match the intended output.

parent 737db5fc
......@@ -223,10 +223,10 @@ void _dump_pixelformat(void *in) {
_dump_pixelformat_flag(pf->dwFlags);
if (pf->dwFlags & DDPF_FOURCC) {
DPRINTF(", dwFourCC : %c%c%c%c",
(pf->dwFourCC>>24)&0xff,
(pf->dwFourCC>>16)&0xff,
(pf->dwFourCC>> 8)&0xff,
pf->dwFourCC &0xff
(unsigned char)((pf->dwFourCC>>24)&0xff),
(unsigned char)((pf->dwFourCC>>16)&0xff),
(unsigned char)((pf->dwFourCC>> 8)&0xff),
(unsigned char)( pf->dwFourCC &0xff)
);
}
if (pf->dwFlags & DDPF_RGB) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment