Thread
:
Need a C++ guru
View Single Post
#
7
06-30-2009, 08:32 PM
Shendare
Dragon
Join Date: Apr 2009
Location: California
Posts: 814
Still true. In 32-bit, long is the same as int, so they're both being cast as signed ints at that point, changing b from 3000000000 to -1294967296, which is less than -1.
Shendare
View Public Profile
Send a private message to Shendare
Find all posts by Shendare