ldb: Fix overflow checks
authorAndreas Schneider <asn@samba.org>
Wed, 21 Mar 2018 15:25:30 +0000 (16:25 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 3 Apr 2018 18:20:10 +0000 (20:20 +0200)
commit889d1daf8758841a8252916c4e85932ac6a6e6a6
treeff93396dd09f352396c80a49e52f4fd59de6c207
parentbe709e8cde584dcc94d394ae3ae49e9342bb5d34
ldb: Fix overflow checks

This fixes compilation with -Wstrict-overflow=2.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ldb/common/qsort.c