summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/window/x11-Xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/window/x11-Xlib.c')
-rw-r--r--Build/source/texk/web2c/window/x11-Xlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/window/x11-Xlib.c b/Build/source/texk/web2c/window/x11-Xlib.c
index 01941d509af..91580c7fe48 100644
--- a/Build/source/texk/web2c/window/x11-Xlib.c
+++ b/Build/source/texk/web2c/window/x11-Xlib.c
@@ -105,7 +105,8 @@ mf_x11_initscreen(void)
sizehints.height = screendepth;
sizehints.flags = PPosition|PSize;
- sprintf (default_geometry, "%ux%u+%u+%u", screenwidth, screendepth,
+ sprintf (default_geometry, "%ux%u+%u+%u",
+ (unsigned int) screenwidth, (unsigned int) screendepth,
DEFAULT_X_POSITION, DEFAULT_Y_POSITION);
/* Look up the geometry for this window. (Section 10.2 Obtaining X