From cbfb19790917d271b8ca6156554b16acc802719f Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 28 Mar 2014 17:35:36 +0100 Subject: libxtrans fontconfig mesa xserver git update 28 Mar 2014 xserver commit a2880699e8f1f576e1a48ebf25e8982463323f84 libxtrans commit 68f60238c4224f954ff6556ae778c72e420175f0 fontconfig commit fcba9ef01c978323fc71c17e455d3cd6ae35edcc mesa commit 029ccd773d01a5f801c809c499516d7b0c4cc3f8 --- X11/xtrans/Xtrans.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'X11/xtrans/Xtrans.c') diff --git a/X11/xtrans/Xtrans.c b/X11/xtrans/Xtrans.c index d9e32d01f..ae8ffad8e 100644 --- a/X11/xtrans/Xtrans.c +++ b/X11/xtrans/Xtrans.c @@ -48,8 +48,9 @@ from The Open Group. */ #include -#ifdef HAVE_SYSTEMD_DAEMON +#include #include +#ifdef HAVE_SYSTEMD_DAEMON #include #endif @@ -166,8 +167,8 @@ TRANS(SelectTransport) (const char *protocol) protobuf[PROTOBUFSIZE-1] = '\0'; for (i = 0; i < PROTOBUFSIZE && protobuf[i] != '\0'; i++) - if (isupper (protobuf[i])) - protobuf[i] = tolower (protobuf[i]); + if (isupper ((unsigned char)protobuf[i])) + protobuf[i] = tolower ((unsigned char)protobuf[i]); /* Look at all of the configured protocols */ -- cgit v1.2.3