talloc: Fix size type and checks in _vasprintf_tc
commit4a7eaf909d7f139462351c43ef1dbb2915f8490f
authorAndreas Schneider <asn@samba.org>
Wed, 21 Mar 2018 10:55:45 +0000 (21 11:55 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Mar 2018 12:11:14 +0000 (21 13:11 +0100)
tree49a65d54e5106bf7213bcec6ceb19a9e588c5d36
parent5c909ea4530d4e7e4aa27046c45e3e48b094a411
talloc: Fix size type and checks in _vasprintf_tc

This fixes compilation with -Wstrict-overflow=2

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/talloc/talloc.c