From 8b1ec197b2fb6d4cb6521414069d3e9d70d0850b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 May 2009 22:54:37 +0200 Subject: [PATCH] fix a warning for a comparison mixing signed and unsigned types --- src/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport.c b/src/transport.c index 0055ca4..0a5d78a 100644 --- a/src/transport.c +++ b/src/transport.c @@ -380,7 +380,7 @@ _libssh2_transport_read(LIBSSH2_SESSION * session) } return PACKET_FAIL; } - else if(nread != recv_amount) { + else if(nread != (ssize_t)recv_amount) { /* we're done for this time! */ loop = 0; }