smbclient: Align integer types
commit9081138a2242000fa460946450148d434a48fa0b
authorVolker Lendecke <vl@samba.org>
Fri, 5 Jun 2020 12:04:08 +0000 (5 14:04 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 10 Jun 2020 22:20:46 +0000 (10 22:20 +0000)
treeb55c6c77f3619b7e6fc45d39b79a49ce63d27fd4
parent675bb46ab2e5aa692bac0df69b19068b9dec294a
smbclient: Align integer types

gcc complained that the if-condition compared unsigned rb_size with a
signed value. Somehow through the arithmetic the uint16_t's got
promoted to integer.

Also, avoid some printf casts

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c