From 2b93f29a08ee2640e274de0420fe0bd64cac8a51 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 8 Nov 2017 19:53:34 +0000 Subject: Squash warning. --- source/fitz/stext-search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz') 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; -- cgit v1.2.3