Properly cast arguments to printf to match the intended output.
This commit is contained in:
parent
737db5fce2
commit
67263a3ec8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue