diff options
-rw-r--r-- | include/mupdf/fitz/string.h | 2 | ||||
-rw-r--r-- | source/fitz/ftoa.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/string.h b/include/mupdf/fitz/string.h index 878610e2..81429b67 100644 --- a/include/mupdf/fitz/string.h +++ b/include/mupdf/fitz/string.h @@ -122,7 +122,7 @@ float fz_strtof_no_exp(const char *string, char **tailptr); fz_grisu: Compute decimal integer m, exp such that: f = m * 10^exp m is as short as possible without losing exactness - Assumes special cases (NaN, +Inf, -Inf) have been handled. + Assumes special cases (0, NaN, +Inf, -Inf) have been handled. */ int fz_grisu(float f, char *s, int *exp); diff --git a/source/fitz/ftoa.c b/source/fitz/ftoa.c index a3f7b5c6..4ec492e9 100644 --- a/source/fitz/ftoa.c +++ b/source/fitz/ftoa.c @@ -209,7 +209,7 @@ static uint64_t powers_ten[84] = { }; /* Exponents. */ -static uint64_t powers_ten_e[84] = { +static int powers_ten_e[84] = { -186, -183, -180, -176, -173, -170, -166, -163, -160, -157, -153, -150, -147, -143, -140, -137, -133, -130, -127, -123, -120, -117, -113, -110, -107, -103, -100, -97, -93, -90, -87, -83, -80, |