aboutsummaryrefslogtreecommitdiffstats
path: root/src/location-manual.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/location-manual.c')
-rw-r--r--src/location-manual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location-manual.c b/src/location-manual.c
index 0048128..b07ca4f 100644
--- a/src/location-manual.c
+++ b/src/location-manual.c
@@ -79,7 +79,7 @@ location_manual_set_option(struct location_state *state, const char *key,
/* Parse float value */
char *end;
errno = 0;
- float v = strtof(value, &end);
+ double v = strtod(value, &end);
if (errno != 0 || *end != '\0') {
fputs(_("Malformed argument.\n"), stderr);
return -1;