lib:util: Fix undefined behavior in bitmap.c
authorAndreas Schneider <asn@samba.org>
Thu, 22 Nov 2018 14:06:42 +0000 (15:06 +0100)
committerGary Lockyer <gary@samba.org>
Thu, 22 Nov 2018 21:13:27 +0000 (22:13 +0100)
commit93ab0cef2a0f68788f77d8fce7e4f795e9921a9b
tree5eb8a3c851d914b66b49bfa4fd3db3110e7ac677
parent470a9b891acfa4ec8426f703912652ee2e4b5d86
lib:util: Fix undefined behavior in bitmap.c

lib/util/bitmap.c:77: runtime error: left shift of 1 by 31 places cannot
be represented in type 'int'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/util/bitmap.c