From f45f19d1ef1ccc2be4d8ceaf9d80571748859f85 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 24 Jul 2013 12:22:28 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- c/sha3sum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c/sha3sum.c b/c/sha3sum.c index 122d6f4..e8d982a 100644 --- a/c/sha3sum.c +++ b/c/sha3sum.c @@ -51,7 +51,7 @@ inline void putchars(char* bytes, long n) SET set_new() { long i; - void** rc = = (void**)malloc(sizeof(void*) << 4); + void** rc = (void**)malloc(sizeof(void*) << 4); for (i = 0; i < 16; i++) *(rc + i) = 0; return rc; @@ -201,7 +201,7 @@ int main(int argc, char** argv) char** args = argv + 1; - _O = _S = _R = _C = _W = _I = false; + _O = _S = _R = _C = _W = _I = _J = false; O = S = R = C = W = I = J = 0; o = s = r = c = w = i = j = 0; @@ -579,7 +579,7 @@ int main(int argc, char** argv) char* chunk; char* bs; - filename = *(files + f) + filename = *(files + f); fn = filename ? filename : "/dev/stdin"; file = fopen(fn, "r"); if (file == null) -- cgit v1.2.3-70-g09d2