[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [avr-gcc-list] Casting

From: Haase Bjoern (PT-BEU/EMT) *
Subject: AW: [avr-gcc-list] Casting
Date: Tue, 28 Mar 2006 16:07:07 +0200

>typedef union
> {
> long  a_long;
> int   an_int;
> void  *a_pointer;
> } messy_var_t;

IMO, this is the way to do it. It's actually exactly the same method
that you are using if your code is supposed to run on both, a 64 bit and
a 32 bit machine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]