summaryrefslogtreecommitdiff
path: root/xserver/hw/xwin/wincreatewnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/hw/xwin/wincreatewnd.c')
-rw-r--r--xserver/hw/xwin/wincreatewnd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/xserver/hw/xwin/wincreatewnd.c b/xserver/hw/xwin/wincreatewnd.c
index 6c5b21dfa..b2f797c51 100644
--- a/xserver/hw/xwin/wincreatewnd.c
+++ b/xserver/hw/xwin/wincreatewnd.c
@@ -357,10 +357,11 @@ winCreateBoundingWindowWindowed(ScreenPtr pScreen)
}
winDebug("winCreateBoundingWindowWindowed - WindowClient "
- "w %ld h %ld r %ld l %ld b %ld t %ld\n",
- rcClient.right - rcClient.left,
- rcClient.bottom - rcClient.top,
- rcClient.right, rcClient.left, rcClient.bottom, rcClient.top);
+ "w %d h %d r %d l %d b %d t %d\n",
+ (int)(rcClient.right - rcClient.left),
+ (int)(rcClient.bottom - rcClient.top),
+ (int)rcClient.right, (int)rcClient.left,
+ (int)rcClient.bottom, (int)rcClient.top);
/* We adjust the visual size if the user did not specify it */
if (!