diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-06-19 17:04:04 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-06-19 17:04:04 +0200 |
commit | 8e59d2f0e102476c0dbd897661860666c12e8aa6 (patch) | |
tree | b4ce4ab1eccb87c1771b9a65c8ca6e8c77aea8c7 /fitz/obj_print.c | |
parent | b058141ef35119f3e0b51c73716abbe235b034e2 (diff) | |
download | mupdf-8e59d2f0e102476c0dbd897661860666c12e8aa6.tar.xz |
Floats everywhere!
Diffstat (limited to 'fitz/obj_print.c')
-rw-r--r-- | fitz/obj_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/obj_print.c b/fitz/obj_print.c index d4dd6050..1787ad72 100644 --- a/fitz/obj_print.c +++ b/fitz/obj_print.c @@ -241,7 +241,7 @@ static void fmtobj(struct fmt *fmt, fz_obj *obj) case FZ_REAL: sprintf(buf, "%g", fz_toreal(obj)); if (strchr(buf, 'e')) /* bad news! */ - sprintf(buf, fabs(fz_toreal(obj)) > 1 ? "%1.1f" : "%1.8f", fz_toreal(obj)); + sprintf(buf, fabsf(fz_toreal(obj)) > 1 ? "%1.1f" : "%1.8f", fz_toreal(obj)); fmtputs(fmt, buf); break; case FZ_STRING: |