[geos-devel] Incorrect function prototype for
GEOSPreparedGeom_destroy in CAPI
mark.cave-ayland at ilande.co.uk
Mon Oct 13 08:00:13 EDT 2008
In some of my testing on GEOS SVN/PostGIS SVN I've noticed some warnings
on calls to GEOSPreparedGeom_destroy. The reason for this is that the
GEOSPrepare() constructor returns a "const PreparedGeometry *" whereas
GEOSPreparedGeom_destroy() currently accepts a "PreparedGeometry *". The
attached patch adds the missing const qualifier to
GEOSPreparedGeom_destroy which removes the warnings in PostGIS.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1277 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20081013/a72adb20/geos_preparedgeom_destroy.bin
More information about the geos-devel