[GRASS-SVN] r74195 - grass/trunk/lib/proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 8 12:46:46 PST 2019
Author: mmetz
Date: 2019-03-08 12:46:46 -0800 (Fri, 08 Mar 2019)
New Revision: 74195
Modified:
grass/trunk/lib/proj/do_proj.c
Log:
libproj: test for PROJ6, fix r74194
Modified: grass/trunk/lib/proj/do_proj.c
===================================================================
--- grass/trunk/lib/proj/do_proj.c 2019-03-08 20:45:10 UTC (rev 74194)
+++ grass/trunk/lib/proj/do_proj.c 2019-03-08 20:46:46 UTC (rev 74195)
@@ -104,11 +104,11 @@
}
#if PROJ_VERSION_MAJOR >= 6
else {
- char *str = proj_as_proj_string(NULL, info_trans->pj,
+ const char *str = proj_as_proj_string(NULL, info_trans->pj,
PJ_PROJ_5, NULL);
if (str)
- info-trans->def = G_store(str);
+ info_trans->def = G_store(str);
}
#endif
}
More information about the grass-commit
mailing list