summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon')
-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 5cf12bb3..994083fc 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 */
}