diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-03-12 13:33:29 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-03-12 14:11:58 +0000 |
commit | caf8e7a6c7cfeb245cdb5ac44d310a82ab0155b3 (patch) | |
tree | 8cbb1be8329597486cf5299865f125707330d195 /pdf/pdf_function.c | |
parent | 65ca742ba4aabda2768ba4423eeaf06d5d46c76e (diff) | |
download | mupdf-caf8e7a6c7cfeb245cdb5ac44d310a82ab0155b3.tar.xz |
Squash MSVC warning.
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r-- | pdf/pdf_function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c index b02ae3c5..681c0157 100644 --- a/pdf/pdf_function.c +++ b/pdf/pdf_function.c @@ -368,7 +368,7 @@ ps_run(fz_context *ctx, psobj *code, ps_stack *st, int pc) i1 = ps_pop_int(st); if (i2 > 0 && i2 < 8 * sizeof (i2)) ps_push_int(st, i1 << i2); - else if (i2 < 0 && i2 > -8 * sizeof (i2)) + else if (i2 < 0 && i2 > -8 * (int)sizeof (i2)) ps_push_int(st, (int)((unsigned int)i1 >> -i2)); else ps_push_int(st, i1); |