summaryrefslogtreecommitdiff
path: root/source/tools/muraster.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-05-29 00:10:28 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-05-31 20:29:30 +0800
commit2d68de96c62c1e6d6a2b615336d99b671fc672b7 (patch)
treec309b8fdf623a0fd56aebc38c863b596e23c379f /source/tools/muraster.c
parent73d7b296bd549a7e985ea9df9f13e6ad3701ef89 (diff)
downloadmupdf-2d68de96c62c1e6d6a2b615336d99b671fc672b7.tar.xz
Avoid double literals causing casts to float.
Diffstat (limited to 'source/tools/muraster.c')
-rw-r--r--source/tools/muraster.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/tools/muraster.c b/source/tools/muraster.c
index 12b81ac3..5b92a9d2 100644
--- a/source/tools/muraster.c
+++ b/source/tools/muraster.c
@@ -71,13 +71,13 @@
MURASTER_CONFIG_WIDTH: The printable page width
(in inches)
*/
-/* #define MURASTER_CONFIG_WIDTH 8.27 */
+/* #define MURASTER_CONFIG_WIDTH 8.27f */
/*
MURASTER_CONFIG_HEIGHT: The printable page height
(in inches)
*/
-/* #define MURASTER_CONFIG_HEIGHT 11.69 */
+/* #define MURASTER_CONFIG_HEIGHT 11.69f */
/*
MURASTER_CONFIG_STORE_SIZE: The maximum size to use
@@ -172,13 +172,13 @@ int gettimeofday(struct timeval *tv, struct timezone *tz);
#ifdef MURASTER_CONFIG_WIDTH
#define PAPER_WIDTH MURASTER_CONFIG_WIDTH
#else
-#define PAPER_WIDTH 8.27
+#define PAPER_WIDTH 8.27f
#endif
#ifdef MURASTER_CONFIG_HEIGHT
#define PAPER_HEIGHT MURASTER_CONFIG_HEIGHT
#else
-#define PAPER_HEIGHT 11.69
+#define PAPER_HEIGHT 11.69f
#endif
#ifdef MURASTER_CONFIG_STORE_SIZE