aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/4D_api.cpp2
-rw-r--r--src/proj.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/4D_api.cpp b/src/4D_api.cpp
index 4e575f14..d366aba8 100644
--- a/src/4D_api.cpp
+++ b/src/4D_api.cpp
@@ -1310,7 +1310,7 @@ int proj_trans_bounds(PJ_CONTEXT* context,
double* out_ymin,
double* out_xmax,
double* out_ymax,
- int densify_pts
+ const int densify_pts
) {
*out_xmin = HUGE_VAL;
*out_ymin = HUGE_VAL;
diff --git a/src/proj.h b/src/proj.h
index b378cd00..92515131 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -604,10 +604,10 @@ int PROJ_DLL proj_trans_bounds(
PJ_CONTEXT* context,
PJ *P,
PJ_DIRECTION direction,
- const double xmin,
- const double ymin,
- const double xmax,
- const double ymax,
+ double xmin,
+ double ymin,
+ double xmax,
+ double ymax,
double* out_xmin,
double* out_ymin,
double* out_xmax,