From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <516c07525677816b5a69698dca337a86@vitanuova.com> From: C H Forsyth Date: Fri, 13 Jan 2006 22:36:46 +0000 To: quanstro@speakEASY.net, 9fans@cse.psu.edu Subject: Re: [9fans] tarfs & 2GB limit In-Reply-To: <20060113164151.ED27C35076@dexter-peak.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: d63aff48-ead0-11e9-9d60-3106f5b1d025 51c52 < f.addr = (void*)(blkno+1); --- > f.addr = (void*)((ulong)blkno+1); it will be cleaner to have fileinf declare union { void* addr; ulong blockno; }; (or whatever is required) and use the right member of the union. just say `no' to converting between void* and integers, when it's not essential.