Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2009 01:57:13 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: semi OT: 64-bit-clean code
Message-ID:  <20090108015547.H51468@wojtek.tensor.gdynia.pl>
In-Reply-To: <18788.63932.623165.925634@jerusalem.litteratus.org>
References:  <18788.63932.623165.925634@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 	Is there a good guide anywhere to writing 64-bit-clean code?

simply use sizeof() not assumptions

nothing else.

too - don't assume big/little endian system.

actually it's VERY simple.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090108015547.H51468>