diff options
author | Allan McRae <allan@archlinux.org> | 2016-05-04 09:38:03 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-05-05 05:52:23 +0200 |
commit | 5b9bc6024c246f232c64f6409088fedf558917af (patch) | |
tree | dfd67e17585653da068dacc018392a332c509a58 /lib/libalpm/rawstr.c | |
parent | 2694d17ad99bab1cea5aad0ea4781ea4d51e596b (diff) | |
download | pacman-5b9bc6024c246f232c64f6409088fedf558917af.tar.gz pacman-5b9bc6024c246f232c64f6409088fedf558917af.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>
Diffstat (limited to 'lib/libalpm/rawstr.c')
0 files changed, 0 insertions, 0 deletions