diff options
author | thakis@chromium.org <thakis@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2012-02-29 03:40:46 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2012-02-29 03:40:46 +0000 |
commit | ac0db4eaa525cd90c959d3312c3c73b7a961eb18 (patch) | |
tree | e1cb33cfaa554ad5e2911ad433cb06d4146b80eb | |
parent | 44efe151b6960bab3db0c85354cc4cce1024219d (diff) | |
download | patched-yasm-ac0db4eaa525cd90c959d3312c3c73b7a961eb18.tar.gz |
yasm: Merge a clang warning fix.
Namely, https://github.com/yasm/yasm/commit/a2cbb10ee1b90b73647667ac849c74d65761d412
TBR=ajwong
Review URL: https://chromiumcodereview.appspot.com/9533001
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/yasm/patched-yasm@124103 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
-rw-r--r-- | libyasm/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libyasm/md5.c b/libyasm/md5.c index 80b550c..0260348 100644 --- a/libyasm/md5.c +++ b/libyasm/md5.c @@ -163,7 +163,7 @@ yasm_md5_final(unsigned char digest[16], yasm_md5_context *ctx) putu32(ctx->buf[1], digest + 4); putu32(ctx->buf[2], digest + 8); putu32(ctx->buf[3], digest + 12); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ } #ifndef ASM_MD5 |