chiark / gitweb /
fix for 64-bit!
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 5 Jul 2022 11:42:41 +0000 (12:42 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 5 Jul 2022 11:42:41 +0000 (12:42 +0100)
md5.h

diff --git a/md5.h b/md5.h
index 245ecc9f536ccb7838f50ca1158395ad698280ef..2eb40aa4bce298e559e84733e486985e4410584f 100644 (file)
--- a/md5.h
+++ b/md5.h
@@ -8,8 +8,10 @@
 #ifndef MD5_H
 #define MD5_H
 
+#include <stdint.h>
+
 #define UINT8 unsigned char
-#define UINT32 unsigned long
+#define UINT32 uint32_t
 
 struct MD5Context {
        UINT32 buf[4];