summaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2008-05-05 16:29:12 +0200
committerJay Berkenbilt <ejb@ql.org>2008-05-05 16:29:12 +0200
commit0ea47593f90d4db0bae7b3a16c2370582f2fbe0e (patch)
treee8c7d11667c6869801681d8f92bd0cee1bc41525 /libqpdf
parent62bff4861fc884e7f0d5cfddca7a8357a19e3d78 (diff)
downloadqpdf-0ea47593f90d4db0bae7b3a16c2370582f2fbe0e.tar.zst
more 32/64-bit errors
git-svn-id: svn+q:///qpdf/trunk@618 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/qpdf/MD5.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/libqpdf/qpdf/MD5.hh b/libqpdf/qpdf/MD5.hh
index 0ae15da9..06b4efff 100644
--- a/libqpdf/qpdf/MD5.hh
+++ b/libqpdf/qpdf/MD5.hh
@@ -4,6 +4,7 @@
#include <string>
#include <qpdf/QEXC.hh>
+#include <qpdf/qpdf-config.h>
class MD5
{
@@ -49,10 +50,10 @@ class MD5
typedef void *POINTER;
// UINT2 defines a two byte word
- typedef unsigned short int UINT2;
+ typedef uint16_t UINT2;
// UINT4 defines a four byte word
- typedef unsigned long int UINT4;
+ typedef uint32_t UINT4;
void init();
void update(unsigned char *, unsigned int);