diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-01-02 12:21:57 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-01-02 12:21:57 +0000 |
commit | 83ac1d512d846f4095288b909d97fa492fd4b9bf (patch) | |
tree | 94ce12e5092dd254463f3d17fb6858019dc02155 /Build/source/texk/web2c/window/x11-Xlib.c | |
parent | d36033d619081900fbf33ff6b71783bd1577d218 (diff) |
METAFONT (x11-Xlib): Avoid gcc warnings by casting screenwidth, screendepth to 'unsigned int'
git-svn-id: svn://tug.org/texlive/trunk@32546 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/window/x11-Xlib.c')
-rw-r--r-- | Build/source/texk/web2c/window/x11-Xlib.c | 3 |
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 |