wok-next diff linux-cloop/stuff/cloop.u @ rev 17270

linux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 24 12:46:53 2014 +0200 (2014-10-24)
parents ade6b9da6804
children b30e264381c7
line diff
     1.1 --- a/linux-cloop/stuff/cloop.u	Tue Sep 23 10:35:20 2014 +0200
     1.2 +++ b/linux-cloop/stuff/cloop.u	Fri Oct 24 12:46:53 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;