[geos-commits] r3113 - trunk/src/io

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Oct 15 10:55:22 EDT 2010


Author: mloskot
Date: 2010-10-15 07:55:22 -0700 (Fri, 15 Oct 2010)
New Revision: 3113

Modified:
   trunk/src/io/WKTReader.cpp
Log:
Cast toupper() result to char

Modified: trunk/src/io/WKTReader.cpp
===================================================================
--- trunk/src/io/WKTReader.cpp	2010-10-15 13:42:24 UTC (rev 3112)
+++ trunk/src/io/WKTReader.cpp	2010-10-15 14:55:22 UTC (rev 3113)
@@ -205,7 +205,7 @@
 
             while( --i >= 0 )
             {
-                word[i] = toupper(word[i]);
+                word[i] = static_cast<char>(toupper(word[i]));
             }
 			return word;
         }



More information about the geos-commits mailing list