[geos-devel] Incorrect function prototype for GEOSPreparedGeom_destroy in CAPI

Paul Ramsey pramsey at cleverelephant.ca
Tue Oct 14 11:01:51 EDT 2008


Done, #209.

On Mon, Oct 13, 2008 at 5:00 AM, Mark Cave-Ayland
<mark.cave-ayland at ilande.co.uk> wrote:
> Hi there,
>
> 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.
>
>
> ATB,
>
> Mark.
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>


More information about the geos-devel mailing list