TUD-OS / NRE

NOVA runtime environment (official branch)
GNU General Public License v2.0
33 stars 12 forks source link

Shift gets truncated in BitField #44

Closed parthy closed 10 years ago

parthy commented 10 years ago

The 1 in https://github.com/TUD-OS/NRE/blob/master/nre/include/bits/BitField.h#L43 should be a 1UL, I suppose. Right now, the shift produces very bad results for e.g. the GSIs 127 downwards.

Nils-TUD commented 10 years ago

Oh, ja, thanks! I'll fix it.