mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
Fix type mismatch warnings
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Andreas Schneider
parent
eb9dc8cfc4
commit
442599f0d1
@@ -638,7 +638,7 @@ void ssh_socket_fd_set(ssh_socket s, fd_set *set, socket_t *max_fd)
|
||||
* \returns SSH_OK, or SSH_ERROR
|
||||
* \warning has no effect on socket before a flush
|
||||
*/
|
||||
int ssh_socket_write(ssh_socket s, const void *buffer, int len)
|
||||
int ssh_socket_write(ssh_socket s, const void *buffer, uint32_t len)
|
||||
{
|
||||
if (len > 0) {
|
||||
if (ssh_buffer_add_data(s->out_buffer, buffer, len) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user