diff --git a/src/osgPlugins/geo/osgGeoStructs.h b/src/osgPlugins/geo/osgGeoStructs.h index 3a67125e3..eeba772ca 100644 --- a/src/osgPlugins/geo/osgGeoStructs.h +++ b/src/osgPlugins/geo/osgGeoStructs.h @@ -418,7 +418,7 @@ public: itr!=fields.end(); ++itr) { - if (itr->getToken()==fieldid) return itr; + if (itr->getToken()==fieldid) return &(*itr); } return NULL; }