Robert C. Seacord wrote on :

> Specifically with regards to MSVC 2005, I thought Chad had already
> checked this and found that it did not exhibit this behavior.  I just
> tested the following program. 
> 
> #include <stdio.h>
> 
> void f(char *buf)  {
>   unsigned int len = len = 0xFFFFFF00;

  I'm sure you didn't mean to do that, but I doubt it affects the results.

  BTW, that's a very different number from (1 << 30).  How about trying again
with a 'u' suffix?  Or with something that doesn't have the sign bit set?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to