On Mon, Apr 28, 2008 at 05:59:54PM -0700, Ian Lance Taylor wrote: > > The warnings I added for the CERT advisory say "assuming pointer > wraparound does not occur".... You are running into one of the older > signed overflow warnings. >
Oh, sorry for that oversight. It has started happening (when testing exactly the same code) shortly after the CERT patch got in and so I got misled. > > Make branch_num an unsigned int. > That did it. Thank you, Martin