fix a warning for a comparison mixing signed and unsigned types

This commit is contained in:
Daniel Stenberg 2009-05-28 22:54:37 +02:00
parent 2436a4de60
commit 8b1ec197b2

View File

@ -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;
}