[geos-commits] r3110 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Oct 10 17:36:33 EDT 2010


Author: mloskot
Date: 2010-10-10 14:36:33 -0700 (Sun, 10 Oct 2010)
New Revision: 3110

Modified:
   trunk/capi/geos_ts_c.cpp
Log:
Cleaned compiler warnings

Modified: trunk/capi/geos_ts_c.cpp
===================================================================
--- trunk/capi/geos_ts_c.cpp	2010-10-10 21:28:29 UTC (rev 3109)
+++ trunk/capi/geos_ts_c.cpp	2010-10-10 21:36:33 UTC (rev 3110)
@@ -4084,7 +4084,7 @@
         return;
     }
 
-    writer->setTrim(trim);
+    writer->setTrim(0 != trim);
 }
 
 void
@@ -4190,7 +4190,7 @@
         return;
     }
 
-    writer->setOld3D(useOld3D);
+    writer->setOld3D(0 != useOld3D);
 }
 
 /* WKB Reader */



More information about the geos-commits mailing list