lib:util: Fix undefined behavior in idtree
commit470a9b891acfa4ec8426f703912652ee2e4b5d86
authorAndreas Schneider <asn@samba.org>
Thu, 22 Nov 2018 13:53:21 +0000 (22 14:53 +0100)
committerGary Lockyer <gary@samba.org>
Thu, 22 Nov 2018 21:13:27 +0000 (22 22:13 +0100)
tree1ec8d77948c0d16f8ead6caedcc9aefcb5e51c22
parent02913d088879500a149ef733eb618561434a9f3a
lib:util: Fix undefined behavior in idtree

lib/util/idtree.c:84 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/idtree.c