mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-20 21:27:32 +00:00
Merge pull request #2671 from enkore/f/chunkerub
chunker: don't do uint32_t >> 32
This commit is contained in:
commit
fd1efbac90
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static uint32_t table_base[] =
|
|||
0xc5ae37bb, 0xa76ce12a, 0x8150d8f3, 0x2ec29218, 0xa35f0984, 0x48c0647e, 0x0b5ff98c, 0x71893f7b
|
||||
};
|
||||
|
||||
#define BARREL_SHIFT(v, shift) ( ((v) << shift) | ((v) >> (32 - shift)) )
|
||||
#define BARREL_SHIFT(v, shift) ( ((v) << shift) | ((v) >> ((32 - shift) & 0x1f)) )
|
||||
|
||||
size_t pagemask;
|
||||
|
||||
|
|
Loading…
Reference in a new issue