wok rev 18895
fusecloop/create_compressed_fs: deduplicate (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 13 18:55:56 2016 +0100 (2016-02-13) |
parents | 362f5ed1734c |
children | d8f609680ee4 |
files | fusecloop/stuff/fusecloop.u |
line diff
1.1 --- a/fusecloop/stuff/fusecloop.u Sat Feb 13 18:33:57 2016 +0100 1.2 +++ b/fusecloop/stuff/fusecloop.u Sat Feb 13 18:55:56 2016 +0100 1.3 @@ -523,7 +523,7 @@ 1.4 + 5, 8, 11, 14, 1, 4, 7, 10, 13, 0, 3, 6, 9, 12, 15, 2, /* 3 */ 1.5 + 0, 7, 14, 5, 12, 3, 10, 1, 8, 15, 6, 13, 4, 11, 2, 9 /* 4 */ 1.6 + }; 1.7 -+ uint32_t *words = (void*) wbuffer; 1.8 ++ uint32_t *words = (uint32_t *) wbuffer; 1.9 + uint32_t A = hash[0]; 1.10 + uint32_t B = hash[1]; 1.11 + uint32_t C = hash[2]; 1.12 @@ -787,7 +787,7 @@ 1.13 +#ifdef FIND_BEST_COMPRESSION 1.14 + if (n * sizeof(*hash) >= hashmax) { 1.15 + hash = (md5hash *) realloc(hash, hashmax += CHUNK); 1.16 -+ if (!ihash) 1.17 ++ if (!hash) 1.18 + quit("Realloc hash"); 1.19 + } 1.20 + hash[n] = md5sum(uncompressed, len);