2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 18:07:09 +01:00

public: fix compiling

This commit is contained in:
Alibek Omarov 2020-11-22 19:08:24 +03:00
parent c53985c0bc
commit eb652d53ac

View File

@ -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