Changeset: 19122d0a0866 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=19122d0a0866
Modified Files:
        geom/monetdb5/geom_clean.c
Branch: sfcgal
Log Message:

Fix compilation


diffs (12 lines):

diff --git a/geom/monetdb5/geom_clean.c b/geom/monetdb5/geom_clean.c
--- a/geom/monetdb5/geom_clean.c
+++ b/geom/monetdb5/geom_clean.c
@@ -728,7 +728,7 @@ geom_make_valid(GEOSGeometry **res, cons
        if ( (GEOSGeomTypeId(geosGeometry)+1) == wkbGeometryCollection_mdb && 
(GEOSGeomTypeId(*res) +1 ) != wkbGeometryCollection_mdb) {
                GEOSGeom *ogeoms = (GEOSGeom *) GDKmalloc(sizeof(GEOSGeom*));
         int geometryType = -1, type = -1;
-               assert(geosGeometry != res);
+               assert(geosGeometry != *res);
         ogeoms[0] = *res;
 
         geometryType = GEOSGeomTypeId(*res);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to