summaryrefslogtreecommitdiff
path: root/src/qcommon/md5.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-12 16:07:46 +0200
committerenneract <trem.redman@gmail.com>2014-07-12 17:06:40 +0200
commitfaabf7d64658ae47842b4ccabdb4b68513f3cdf7 (patch)
treec6068758e0e9b7cd504acb93e8830b95215f97d2 /src/qcommon/md5.c
parent267a7f3eb261f8e9ad63570a2f39e18fc2a91b1c (diff)
fix a bunch of compiler warnings
Diffstat (limited to 'src/qcommon/md5.c')
-rw-r--r--src/qcommon/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/md5.c b/src/qcommon/md5.c
index 5cf12bb..994083f 100644
--- a/src/qcommon/md5.c
+++ b/src/qcommon/md5.c
@@ -253,7 +253,7 @@ static void MD5Final(struct MD5Context *ctx, unsigned char *digest)
if (digest!=NULL)
memcpy(digest, ctx->buf, 16);
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
}