RE: gb_t and memMeter

From: Chemolli Francesco (USI) <ChemolliF@dont-contact.us>
Date: Sun, 6 May 2001 11:03:53 +0200

> quad_t is on the platforms I use (tru64, linux, freebsd, solaris).
> long long might be the go on other platforms.
>
> The typecast from quad to int won't generate an exception, it'll
> just get the lower bits. The compiler can warn you with -Wall.
> I've *so* been bitten by that. :-)

You might want to move that to known-width-types (i.e. u_int64_t)
Same of the problems remain, but at least they're more clearly in sight :-)

-- 
	/kinkie 
Received on Sun May 06 2001 - 02:58:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:59 MST