From eb652d53acceb9cb462a5f2d123d1bb702069e8b Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 22 Nov 2020 19:08:24 +0300 Subject: [PATCH] public: fix compiling --- public/crclib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/crclib.c b/public/crclib.c index 394da7c0..3c306a86 100644 --- a/public/crclib.c +++ b/public/crclib.c @@ -295,7 +295,7 @@ void MD5Final( byte digest[16], MD5Context_t *ctx ) // set the first char of padding to 0x80. // this is safe since there is always at least one byte free - p = ctx->in + count; + p = (byte*)ctx->in + count; *p++ = 0x80; // bytes of padding needed to make 64 bytes