swrap: Fix compare of signed and unsigned integer expressions
authorAndreas Schneider <asn@samba.org>
Fri, 16 Oct 2015 14:52:46 +0000 (16:52 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 19 Oct 2015 08:43:07 +0000 (10:43 +0200)
commit73b2b4f16b4b5f51d4e13fba7444844e13a9f7cc
tree2692df438a577ebde502acbb7ead5d6574758200
parent6c1f0750b122bacbf6bca126ce0e13ccd1e31fe3
swrap: Fix compare of signed and unsigned integer expressions

Make sure the values are compared as the same type. iov_len is size_t on
Linux and int on Solaris.

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