summaryrefslogtreecommitdiff
path: root/xserver/hw/xwin/windialogs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/hw/xwin/windialogs.c')
-rw-r--r--xserver/hw/xwin/windialogs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xserver/hw/xwin/windialogs.c b/xserver/hw/xwin/windialogs.c
index 6fe3fc442..c83b49bab 100644
--- a/xserver/hw/xwin/windialogs.c
+++ b/xserver/hw/xwin/windialogs.c
@@ -443,9 +443,9 @@ winChangeDepthDlgProc(HWND hwndDialog, UINT message,
#endif
#if CYGDEBUG
- winDebug("winChangeDepthDlgProc - WM_INITDIALOG - orig bpp: %d, "
+ winDebug("winChangeDepthDlgProc - WM_INITDIALOG - orig bpp: %u, "
"current bpp: %d\n",
- s_pScreenInfo->dwBPP,
+ (unsigned int)s_pScreenInfo->dwBPP,
GetDeviceCaps(s_pScreenPriv->hdcScreen, BITSPIXEL));
#endif
@@ -455,9 +455,9 @@ winChangeDepthDlgProc(HWND hwndDialog, UINT message,
case WM_DISPLAYCHANGE:
#if CYGDEBUG
- winDebug("winChangeDepthDlgProc - WM_DISPLAYCHANGE - orig bpp: %d, "
+ winDebug("winChangeDepthDlgProc - WM_DISPLAYCHANGE - orig bpp: %u, "
"new bpp: %d\n",
- s_pScreenInfo->dwBPP,
+ (unsigned int)s_pScreenInfo->dwBPP,
GetDeviceCaps(s_pScreenPriv->hdcScreen, BITSPIXEL));
#endif