Browse Source

public: fix compiling

pull/2/head
Alibek Omarov 4 years ago
parent
commit
eb652d53ac
  1. 2
      public/crclib.c

2
public/crclib.c

@ -295,7 +295,7 @@ void MD5Final( byte digest[16], MD5Context_t *ctx ) @@ -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

Loading…
Cancel
Save