ocaml-cryptokit/cryptokit-1.9-uint32.patch

15 lines
422 B
Diff

diff -ur cryptokit-1.9.old/src/stubs-md5.c cryptokit-1.9/src/stubs-md5.c
--- cryptokit-1.9.old/src/stubs-md5.c 2010-08-30 11:53:00.000000000 +0100
+++ cryptokit-1.9/src/stubs-md5.c 2014-11-03 13:16:54.548572332 +0000
@@ -18,8 +18,8 @@
#include <caml/alloc.h>
struct MD5Context {
- uint32 buf[4];
- uint32 bits[2];
+ uint32_t buf[4];
+ uint32_t bits[2];
unsigned char in[64];
};