summaryrefslogtreecommitdiffstats
path: root/src/util/pacsort.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-05-04 09:38:03 +0200
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-04-28 04:25:19 +0200
commita5c23f0643b6a716a62df8cd5c284af88bcca1e6 (patch)
treef5c3cf0d8bc8088ba08aedaf1081466d970f215c /src/util/pacsort.c
parentfcf4da76e031162cc78e4d57c8c22a415ac4094c (diff)
downloadpacman-a5c23f0643b6a716a62df8cd5c284af88bcca1e6.tar.gz
pacman-a5c23f0643b6a716a62df8cd5c284af88bcca1e6.tar.xz
Prevent wrapping of enum items
GCC-6 points out that the value we use for the sentinal in enums is actually too large for the integer type. Reduce the bitshift by one to fix this. Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit 5b9bc6024c246f232c64f6409088fedf558917af)
Diffstat (limited to 'src/util/pacsort.c')
0 files changed, 0 insertions, 0 deletions