summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2007-09-16 09:42:04 +0000
committerThomas Osterried <thomas@osterried.de>2007-09-16 09:42:04 +0000
commit278f94f9dcb38ce1b0848c46a5365af463b74c5b (patch)
tree4dbd7b2ee06bdbdb1a6e04a0cfc359e50f7c1b56
parent353e52b23ccd658a6b3f28e284e6abbc37d7b1cb (diff)
- bugfix: did false computations on 64bit plattforms.
-rw-r--r--ax25/md5.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ax25/md5.h b/ax25/md5.h
index 2bf3867..fc45c8a 100644
--- a/ax25/md5.h
+++ b/ax25/md5.h
@@ -42,7 +42,11 @@
#define MD5_H
/* typedef a 32-bit type */
+#ifdef _LP64
+typedef unsigned int UINT4;
+#else
typedef unsigned long int UINT4;
+#endif
/* Data structure for MD5 (Message-Digest) computation */
typedef struct {