Fixed type reported at GEOS-6804
Merge pull request #863 from guychisholm/GEOS-6804

Fixed type reported at GEOS-6804