libsmb: Fix a "assuming signed overflow does not occur" error
commite872227bfbf63742b549a32eb98487bf61403532
authorVolker Lendecke <vl@samba.org>
Mon, 18 Mar 2019 08:41:57 +0000 (18 09:41 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 18 Mar 2019 19:21:24 +0000 (18 19:21 +0000)
tree08413716b36b87f5ffca529566e592cd675d6955
parent7da54f6fd3e7493e0a37cfffc78cec2d5c4a4366
libsmb: Fix a "assuming signed overflow does not occur" error

Eventually we need to convert internal_resolve_name to "size_t" for
"return_count". But that's a patch for another day :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/namequery.c