1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

axtls: fix compiler warning on conversion ssize_t => int

This commit is contained in:
Fabian Frank 2014-01-20 15:53:44 -08:00 committed by Daniel Stenberg
parent 852a018e78
commit 251305cd7f

View File

@ -622,7 +622,7 @@ static ssize_t axtls_recv(struct connectdata *conn, /* connection data */
}
else {
failf(conn->data, "axTLS recv error (%d)", ret);
*err = map_error_to_curl(ret);
*err = map_error_to_curl((int) ret);
ret = -1;
}
}