Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#209 closed defect (fixed)

inconsistent const declarations in C API

Reported by: pramsey Owned by: pramsey
Priority: minor Milestone: 3.1.0
Component: Default Version: main
Severity: Annoyance Keywords:
Cc:

Description

Mark Cave-Ayland writes:

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.

Attachments (1)

geos_preparedgeom_destroy.patch (1.2 KB ) - added by pramsey 16 years ago.

Download all attachments as: .zip

Change History (4)

by pramsey, 16 years ago

comment:1 by pramsey, 16 years ago

Resolution: fixed
Status: newclosed

Committed to trunk in r2200.

comment:2 by (none), 15 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

comment:3 by pramsey, 15 years ago

Milestone: 3.1.0
Note: See TracTickets for help on using tickets.