ssh: fix compiler warning from e40e9d7f0d

This commit is contained in:
Daniel Stenberg 2017-05-02 08:32:04 +02:00
parent 4858c451ee
commit eab6732fde
1 changed files with 1 additions and 1 deletions

View File

@ -1838,7 +1838,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
do {
size_t readthisamountnow =
(data->state.resume_from - passed > data->set.buffer_size) ?
data->set.buffer_size :
(size_t)data->set.buffer_size :
curlx_sotouz(data->state.resume_from - passed);
size_t actuallyread =