diff options
Diffstat (limited to 'tderandr/libtderandr.cc')
-rw-r--r-- | tderandr/libtderandr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tderandr/libtderandr.cc b/tderandr/libtderandr.cc index c61a6efd5..eb7e96f9a 100644 --- a/tderandr/libtderandr.cc +++ b/tderandr/libtderandr.cc @@ -45,7 +45,7 @@ // This routine is courtsey of an answer on "Stack Overflow" // It takes an LSB-first int and makes it an MSB-first int (or vice versa) -unsigned int reverse_bits(register unsigned int x) +unsigned int reverse_bits(unsigned int x) { x = (((x & 0xaaaaaaaa) >> 1) | ((x & 0x55555555) << 1)); x = (((x & 0xcccccccc) >> 2) | ((x & 0x33333333) << 2)); |