aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_encryption.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2008-05-05 04:22:40 +0200
committerJay Berkenbilt <ejb@ql.org>2008-05-05 04:22:40 +0200
commit62bff4861fc884e7f0d5cfddca7a8357a19e3d78 (patch)
treef4b2c5ebc6329806d2ca6fd695a5fcd7257b88f8 /libqpdf/QPDF_encryption.cc
parentc7477e205e70390c6e97f3edef7a65c676c47f4f (diff)
downloadqpdf-62bff4861fc884e7f0d5cfddca7a8357a19e3d78.tar.zst
fix potential 64-bit issues
git-svn-id: svn+q:///qpdf/trunk@613 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r--libqpdf/QPDF_encryption.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc
index d1faefef..39b34070 100644
--- a/libqpdf/QPDF_encryption.cc
+++ b/libqpdf/QPDF_encryption.cc
@@ -427,7 +427,7 @@ QPDF::decryptStream(Pipeline*& pipeline, int objid, int generation,
void
QPDF::compute_encryption_O_U(
char const* user_password, char const* owner_password,
- int V, int R, int key_len, unsigned long P,
+ int V, int R, int key_len, int P,
std::string const& id1, std::string& O, std::string& U)
{
EncryptionData data(V, R, key_len, P, "", "", id1);