Re: sizeof(unsigned long long)

2008-09-27 Thread Clark Cox
On Sat, Sep 27, 2008 at 2:49 PM, Daniel Luis dos Santos <[EMAIL PROTECTED]> wrote: > Hello, > > I have a piece of C code that generates an unsigned long long from an > sequence of unsigned char's. > > When I do sizeof(unsigned long long) i get 8. > Afterwards I try

Re: sizeof(unsigned long long)

2008-09-27 Thread Nick Zitzmann
On Sep 27, 2008, at 3:49 PM, Daniel Luis dos Santos wrote: When I do sizeof(unsigned long long) i get 8. Afterwards I try to shift each unsigned char into its position along the destination unsigned long long variable, but I get a warning from the compiler that I am shifting beyond the

sizeof(unsigned long long)

2008-09-27 Thread Daniel Luis dos Santos
Hello, I have a piece of C code that generates an unsigned long long from an sequence of unsigned char's. When I do sizeof(unsigned long long) i get 8. Afterwards I try to shift each unsigned char into its position along the destination unsigned long long variable, but I get a warning