diff options
-rw-r--r-- | daemon/gvfsbackendsftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c index 23d5b00e..2098fd54 100644 --- a/daemon/gvfsbackendsftp.c +++ b/daemon/gvfsbackendsftp.c @@ -1245,7 +1245,7 @@ read_reply_async_got_len (GObject *source_object, if (backend->reply_size_read < 4) { g_input_stream_read_async (backend->reply_stream, - &backend->reply_size + backend->reply_size_read, 4 - backend->reply_size_read, + (char *)&backend->reply_size + backend->reply_size_read, 4 - backend->reply_size_read, 0, backend->reply_stream_cancellable, read_reply_async_got_len, backend); return; |