diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-06 17:43:59 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-06 17:44:47 +0000 |
commit | 1db0393d21a9083586d5c055718807ec3d25f8fe (patch) | |
tree | 34615241816ce31e7fb91c4a5e28cb48f890c552 /source/fitz/ftoa.c | |
parent | de8dadb3fb9c1b30900eda880220659c93fb988d (diff) | |
download | mupdf-1db0393d21a9083586d5c055718807ec3d25f8fe.tar.xz |
Squash some warnings
Diffstat (limited to 'source/fitz/ftoa.c')
-rw-r--r-- | source/fitz/ftoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/ftoa.c b/source/fitz/ftoa.c index d58cfce9..db2b87bb 100644 --- a/source/fitz/ftoa.c +++ b/source/fitz/ftoa.c @@ -83,7 +83,7 @@ multiply(diy_fp_t x, diy_fp_t y) c = y.f >> half; d = y.f & mask; ac = a * c; bc = b * c; ad = a * d; bd = b * d; tmp = (bd >> half) + (ad & mask) + (bc & mask); - tmp += 1U << (half - 1); /* Round. */ + tmp += ((uint64_t)1U) << (half - 1); /* Round. */ r.f = ac + (ad >> half) + (bc >> half) + (tmp >> half); r.e = x.e + y.e + half * 2; return r; |