[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Minor nit about usage of sizeof(char)
- From: David Olofson <david@...>
- Date: Fri, 9 Nov 2007 12:06:08 +0100
On Friday 09 November 2007, Richter, Jörg wrote:
> This appears a few times in Lua sources.
> But its per definition 1.
>
> Number of bytes of a char is CHAR_BIT/8
...unless you're on a PDP-10 or something. ;-)
//David Olofson - Programmer, Composer, Open Source Advocate
.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
'-- http://www.reologica.se - Rheology instrumentation --'