krfkeith / sx-gcc

Automatically exported from code.google.com/p/sx-gcc
0 stars 0 forks source link

Shifting 0x80000000U >> 31 gives ffffffff #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Shifting 0x80000000U >> 31 gives ffffffff
should give 1. 

Intermediate solution 
(long)0x80000000U >> 31

Original issue reported on code.google.com by fred.tre...@googlemail.com on 31 Mar 2009 at 11:38

GoogleCodeExporter commented 9 years ago
fixed in r266

Original comment by jmoc...@gmail.com on 2 Apr 2009 at 9:50