On Sun, May 18, 2008 at 11:24 AM, John Kacur <[EMAIL PROTECTED]> wrote: > int main(void) > { > unsigned j = ~0 >> 8;
The above is signed right shift which will keep the sign bit and replicate it. > unsigned i = ~0; > i >>= 8; While this is an unsigned right shift. -- Pinski