From: Chris Hodgson Date: Thu, 17 Oct 2002 17:06:39 +0000 (+0000) Subject: fixed the last compile warning on solaris/gcc X-Git-Tag: pgis_0_7_4~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d80dce00bd655b9c20919d5d363bfb7800a41503;p=postgis fixed the last compile warning on solaris/gcc git-svn-id: http://svn.osgeo.org/postgis/trunk@203 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/dbfopen.c b/loader/dbfopen.c index 989d6a724..93eb1a5a3 100644 --- a/loader/dbfopen.c +++ b/loader/dbfopen.c @@ -34,6 +34,9 @@ ****************************************************************************** * * $Log$ + * Revision 1.5 2002/10/17 17:06:39 chodgson + * fixed the last compile warning on solaris/gcc + * * Revision 1.4 2002/10/17 16:45:04 chodgson * - cleaned up all the compiler warnings * - for getopt.c, this involved moving the line: @@ -1294,8 +1297,8 @@ static void str_to_upper (char *string) len = strlen (string); while (++i < len) - if (isalpha(string[i]) && islower(string[i])) - string[i] = toupper ((int)string[i]); + if (isalpha((unsigned)string[i]) && islower((unsigned)string[i])) + string[i] = toupper ((int)string[i]); } /************************************************************************/