xwin: fix int size mismatch
> ../hw/xwin/winshadgdi.c: In function ‘winBltExposedWindowRegionShadowGDI’: > ../hw/xwin/winshadgdi.c:866:78: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘DWORD’ {aka ‘long unsigned int’} [-Wformat=] > 866 | ErrorF("winBltExposedWindowRegionShadowGDI - BitBlt failed: 0x%08x\n", > | ~~~^ > | | > | unsigned int > | %08lx > 867 | GetLastError()); > | ~~~~~~~~~~~~~~ > | | > | DWORD {aka long unsigned int} Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
bd258cf1a2
commit
fab90591bd
|
@ -862,7 +862,7 @@ winBltExposedWindowRegionShadowGDI(ScreenPtr pScreen, WindowPtr pWin)
|
|||
ps.rcPaint.top + pWin->borderWidth,
|
||||
SRCCOPY))
|
||||
ErrorF("winBltExposedWindowRegionShadowGDI - BitBlt failed: 0x%08x\n",
|
||||
GetLastError());
|
||||
(unsigned int)GetLastError());
|
||||
|
||||
/* Release DC */
|
||||
DeleteDC(hdcPixmap);
|
||||
|
|
Loading…
Reference in New Issue