X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=hmac.c;h=e740632df4884cd0789cbfbc80e04962eff00a5e;hp=a422c699843356fd0cddb1fb3d3e832b3453c588;hb=eb155f171d675b2c36f09f0bdf348776d2ec2fab;hpb=60945cc7023ed9b94235f3f43341a607eec4fb5c diff --git a/hmac.c b/hmac.c index a422c699..e740632d 100644 --- a/hmac.c +++ b/hmac.c @@ -21,7 +21,7 @@ qboolean hmac( if(sizeof(k_xor_ipad) < (size_t) hlen) return false; - catbuf = Mem_Alloc(tempmempool, (size_t) hblock + max((size_t) hlen, (size_t) n)); + catbuf = (unsigned char *)Mem_Alloc(tempmempool, (size_t) hblock + max((size_t) hlen, (size_t) n)); if(k > hblock) {