]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/sg_geodesy.hxx
MSVC fix.
[simgear.git] / simgear / math / sg_geodesy.hxx
index 8d8b2f9d4cca9a363d6f309ad70836d41ade107f..0024e54185fe0c4e3fac8faf4acaf8fe357b7b4b 100644 (file)
@@ -42,7 +42,7 @@ void sgGeodToGeoc(double lat_geod, double alt,
  * @param lon (out) Longitude, in radians
  * @param alt (out) Altitude, in meters above the WGS84 ellipsoid
  */
-void sgCartToGeod(double* xyz, double* lat, double* lon, double* alt);
+void sgCartToGeod(const double* xyz, double* lat, double* lon, double* alt);
 
 /**
  * Convert a cartesian point to a geodetic lat/lon/altitude.