$NetBSD: patch-aa,v 1.1.1.1 2005/11/06 10:36:46 minskim Exp $

g++-2.95 needs a bit help on complex type casts.

--- source/geom/LineString.cpp.orig	Thu Jul 22 10:45:50 2004
+++ source/geom/LineString.cpp	Thu Apr  7 03:56:53 2005
@@ -216,8 +216,8 @@ string LineString::getGeometryType() con
 
 bool LineString::isSimple() const {
 	IsSimpleOp iso;
-	Geometry *in = toInternalGeometry(this);
-	bool issimple = iso.isSimple((LineString *)in);
+	LineString *in = dynamic_cast<LineString *>(toInternalGeometry(this));
+	bool issimple = iso.isSimple(in);
 	if ( in != this ) delete(in);
 	return issimple;
 }
