From d80dce00bd655b9c20919d5d363bfb7800a41503 Mon Sep 17 00:00:00 2001 From: Chris Hodgson Date: Thu, 17 Oct 2002 17:06:39 +0000 Subject: [PATCH] fixed the last compile warning on solaris/gcc git-svn-id: http://svn.osgeo.org/postgis/trunk@203 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/dbfopen.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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]); } /************************************************************************/ -- 2.40.0