diff options
author | Ralph Giles <giles@ghostscript.com> | 2008-09-30 22:59:03 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2008-09-30 22:59:03 +0200 |
commit | 60c5467240c56fe0c7ed28cdb4ac663f76b48963 (patch) | |
tree | cbc184b82984bd4db4329390b390a780eb9e70f5 | |
parent | 39ffc6b6fe9fdfb3943c6c9c0bcfb2961b90aae9 (diff) | |
download | mupdf-60c5467240c56fe0c7ed28cdb4ac663f76b48963.tar.xz |
Remove a cast now that md5 buffers are const.
-rw-r--r-- | mupdf/pdf_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mupdf/pdf_crypt.c b/mupdf/pdf_crypt.c index b32a6398..3aa87602 100644 --- a/mupdf/pdf_crypt.c +++ b/mupdf/pdf_crypt.c @@ -427,7 +427,7 @@ createuser(pdf_crypt *crypt, unsigned char *userpw, int pwlen) /* Step 2 */ fz_md5init(&md5); - fz_md5update(&md5, (unsigned char *) padding, 32); + fz_md5update(&md5, padding, 32); /* Step 3 */ fz_md5update(&md5, (unsigned char *) fz_tostrbuf(crypt->id), |