diff options
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/window/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/window/mfdisplay.h | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/window/x11-Xlib.c | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/window/ChangeLog b/Build/source/texk/web2c/window/ChangeLog index 24a0e26ab2b..aa581f5b0f3 100644 --- a/Build/source/texk/web2c/window/ChangeLog +++ b/Build/source/texk/web2c/window/ChangeLog @@ -1,3 +1,7 @@ +2014-01-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + * x11-Xlib.c: Cast screenwidth, screendepth to 'unsigned int'. + 2013-07-01 Peter Breitenlohner <peb@mppmu.mpg.de> * tek.c: Replace bzero(t, l) => memset(t, 0, l) and bcmp() => diff --git a/Build/source/texk/web2c/window/mfdisplay.h b/Build/source/texk/web2c/window/mfdisplay.h index e001d2e36ec..a1a0cbc2ace 100644 --- a/Build/source/texk/web2c/window/mfdisplay.h +++ b/Build/source/texk/web2c/window/mfdisplay.h @@ -1,4 +1,4 @@ -/* mfwinlib.h: include file for Metafont display routines. +/* mfdisplay.h: include file for Metafont display routines. This file is public domain. */ 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 |