long long int
A;
int B;
A = B << 32;
Hmm. What C compiler did this, on what distro? I'm pretty
sure that
this throws a compiler warning in gcc with -Wall...
WARNING. NOT ERROR.
I always advised my students to turn up warnings to the max, but many
didn't want to.
And, are you aware of what some intel chips will do if you ask them to
shift 33 bits? (anything >32)
--
Grumpy Ol' Fred cisin at
xenosoft.com