diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-09-25 16:10:13 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-09-28 13:28:46 +0100 |
commit | 593e63dbdfdeecc73e26c0bc37b392243a935f54 (patch) | |
tree | 3172391e9d5804ffa22ff6f17987067c94146860 /source | |
parent | 9464a1659500d259bc52706f728059d63ea1583e (diff) | |
download | mupdf-593e63dbdfdeecc73e26c0bc37b392243a935f54.tar.xz |
Bug 696170: Fix typo.
sizeof(16) is not 16 :)
Thanks to David Binderman for pointing this out.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c index c65377ae..51c5ee9e 100644 --- a/source/pdf/pdf-device.c +++ b/source/pdf/pdf-device.c @@ -177,7 +177,7 @@ send_image(fz_context *ctx, pdf_device *pdev, fz_image *image, int mask, int sma fz_md5_final(&state, digest); for(i=0; i < pdev->num_imgs; i++) { - if (!memcmp(&digest, pdev->images[i].digest, sizeof(16))) + if (!memcmp(&digest, pdev->images[i].digest, sizeof(digest))) { num = i; break; |