fix a warning for a comparison mixing signed and unsigned types
This commit is contained in:
parent
2436a4de60
commit
8b1ec197b2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user