Subject: Re: unsigned, unsigned long, unsigned long long
To: Wojciech Puchar <wojtek@wojtek.3miasto.net>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: netbsd-users
Date: 10/08/2001 15:24:16
On Mon, Oct 08, 2001 at 03:21:48PM +0200, Wojciech Puchar wrote:
> on i386 sizeof is 4,4,8
> 
> what type should i use that is unsigned 8 byte integer on every arch?

The type of choice here is an explicitly sized type, in this case
uint64_t (like int64_t, uint32_t int32_t, etc).

- Frank

-- 
Frank van der Linden                           fvdl@wasabisystems.com
======================================================================
Quality NetBSD CDs, Support & Service.   http://www.wasabisystems.com/