diff options
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; |