diff options
author | Jay Berkenbilt <ejb@ql.org> | 2008-05-05 04:22:40 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2008-05-05 04:22:40 +0200 |
commit | 62bff4861fc884e7f0d5cfddca7a8357a19e3d78 (patch) | |
tree | f4b2c5ebc6329806d2ca6fd695a5fcd7257b88f8 /include | |
parent | c7477e205e70390c6e97f3edef7a65c676c47f4f (diff) | |
download | qpdf-62bff4861fc884e7f0d5cfddca7a8357a19e3d78.tar.zst |
fix potential 64-bit issues
git-svn-id: svn+q:///qpdf/trunk@613 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index d311b3c8..9030382d 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -85,7 +85,7 @@ class QPDF struct EncryptionData { // This class holds data read from the encryption dictionary. - EncryptionData(int V, int R, int Length_bytes, long P, + EncryptionData(int V, int R, int Length_bytes, int P, std::string const& O, std::string const& U, std::string const& id1) : V(V), @@ -101,7 +101,7 @@ class QPDF int V; int R; int Length_bytes; - long P; + int P; std::string O; std::string U; std::string id1; @@ -115,7 +115,7 @@ class QPDF static void 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); std::string const& getUserPassword() const; |