summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-11-08 19:53:34 +0000
committerRobin Watts <robin.watts@artifex.com>2017-11-09 00:07:13 +0000
commit2b93f29a08ee2640e274de0420fe0bd64cac8a51 (patch)
tree96657bfa3f1192ef1d4d65f23cbcfd54eda91028
parent949e7e6d611f96ad3add3496466f8eaa9c8ae642 (diff)
downloadmupdf-2b93f29a08ee2640e274de0420fe0bd64cac8a51.tar.xz
Squash warning.
-rw-r--r--source/fitz/stext-search.c4
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;