wok-next diff fusecloop/stuff/fusecloop.u @ rev 17169
linux-cloop: 4Gb+ support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 23 11:33:52 2014 +0200 (2014-09-23) |
parents | ade6b9da6804 |
children | bbffbcf032d1 |
line diff
1.1 --- a/fusecloop/stuff/fusecloop.u Tue Sep 23 10:35:20 2014 +0200 1.2 +++ b/fusecloop/stuff/fusecloop.u Tue Sep 23 11:33:52 2014 +0200 1.3 @@ -60,10 +60,10 @@ 1.4 + return (char *) "32BE v0.68"; 1.5 + } 1.6 + else { /* V3.0 */ 1.7 -+ int i; 1.8 ++ unsigned long i; 1.9 + loff_t j; 1.10 + 1.11 -+ for (i = n; i-- > 0; ) 1.12 ++ for (i = n; i-- != 0; ) 1.13 + offsets[i].size = ntohl(ofs32[i]); 1.14 + for (i = 0, j = sizeof(struct cloop_head); i < n; i++) { 1.15 + offsets[i].offset = j;