diff options
Diffstat (limited to 'src/zcompile/parser-util.c')
-rw-r--r-- | src/zcompile/parser-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zcompile/parser-util.c b/src/zcompile/parser-util.c index 9e2e999..dde5411 100644 --- a/src/zcompile/parser-util.c +++ b/src/zcompile/parser-util.c @@ -2063,7 +2063,7 @@ uint16_t * zparser_conv_loc(char *str) return NULL; } - if (sscanf(start, "%lf", &d) != 1) { + if (sscanf(start, "%16lf", &d) != 1) { zc_error_prev_line("error parsing seconds"); } @@ -2161,7 +2161,7 @@ uint16_t * zparser_conv_loc(char *str) ++str; } - if (sscanf(start, "%lf", &d) != 1) { + if (sscanf(start, "%16lf", &d) != 1) { zc_error_prev_line("error parsing altitude"); } |