wok-6.x diff fusecloop/stuff/fusecloop.u @ rev 19158
mesa*: fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 25 23:07:05 2016 +0200 (2016-05-25) |
parents | 362f5ed1734c |
children | 1e6252d97317 |
line diff
1.1 --- a/fusecloop/stuff/fusecloop.u Sat Feb 13 18:33:57 2016 +0100 1.2 +++ b/fusecloop/stuff/fusecloop.u Wed May 25 23:07:05 2016 +0200 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);