aboutsummaryrefslogtreecommitdiff
path: root/src/pj_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_param.c')
-rw-r--r--src/pj_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_param.c b/src/pj_param.c
index 119006e1..ed6ce27c 100644
--- a/src/pj_param.c
+++ b/src/pj_param.c
@@ -61,7 +61,7 @@ pj_param(projCtx ctx, paralist *pl, const char *opt) {
value.i = atoi(opt);
break;
case 'd': /* simple real input */
- value.f = atof(opt);
+ value.f = pj_atof(opt);
break;
case 'r': /* degrees input */
value.f = dmstor_ctx(ctx, opt, 0);