From 8051312f9b78c4f47da37a7d4faef1378b8aa750 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 29 Jun 2016 22:11:48 +0300 Subject: [PATCH] lib: iostream-temp: Fixed o_stream_send_istream() with >2GB files --- src/lib/iostream-temp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/iostream-temp.c b/src/lib/iostream-temp.c index 907837b102..c87ffef9fe 100644 --- a/src/lib/iostream-temp.c +++ b/src/lib/iostream-temp.c @@ -145,8 +145,8 @@ static int o_stream_temp_dup_cancel(struct temp_ostream *tstream) return ret < 0 ? -1 : 0; } -static int o_stream_temp_dup_istream(struct temp_ostream *outstream, - struct istream *instream) +static off_t o_stream_temp_dup_istream(struct temp_ostream *outstream, + struct istream *instream) { uoff_t in_size; off_t ret; -- 2.47.3