diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-11-08 19:53:34 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-11-09 00:07:13 +0000 |
commit | 2b93f29a08ee2640e274de0420fe0bd64cac8a51 (patch) | |
tree | 96657bfa3f1192ef1d4d65f23cbcfd54eda91028 /source | |
parent | 949e7e6d611f96ad3add3496466f8eaa9c8ae642 (diff) | |
download | mupdf-2b93f29a08ee2640e274de0420fe0bd64cac8a51.tar.xz |
Squash warning.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/stext-search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/stext-search.c b/source/fitz/stext-search.c index 2f074180..975e89a9 100644 --- a/source/fitz/stext-search.c +++ b/source/fitz/stext-search.c @@ -76,7 +76,7 @@ static int line_length(fz_stext_line *line) static int find_closest_in_line(fz_stext_line *line, int idx, fz_point p) { fz_stext_char *ch; - float closest_dist = 1e30; + float closest_dist = 1e30f; int closest_idx = idx; if (line->dir.x > line->dir.y) @@ -118,7 +118,7 @@ static int find_closest_in_page(fz_stext_page *page, fz_point p) fz_stext_line *line; fz_stext_line *closest_line = NULL; int closest_idx = 0; - float closest_dist = 1e30; + float closest_dist = 1e30f; float this_dist; int idx = 0; |