summaryrefslogtreecommitdiff
path: root/src/test/test-bitmap.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-07-17 12:19:06 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-07-17 12:19:06 +0200
commita933570dea029fbb25f6b62d46b7462366ed1430 (patch)
treed0cee794b0876aac40e128e33fdc5a49e54a183c /src/test/test-bitmap.c
parent22cedfe15fda59106b890ae2c646de96aa18a5eb (diff)
bitmap: avoid 32bit integer overflow in shift
We really must use 64bit integers to calculate long-long shifts. Otherwise, we will never get higher masks than 2^31.
Diffstat (limited to 'src/test/test-bitmap.c')
0 files changed, 0 insertions, 0 deletions