From a98be204a4af67e4c8568881563c3691a7639400 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 11 Oct 2016 11:03:06 +0300 Subject: [PATCH] lib: iostream-temp: Fixed o_stream_send_istream() with >2GB files 8051312f9 wasn't quite enough. --- src/lib/iostream-temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/iostream-temp.c b/src/lib/iostream-temp.c index cdc4ecbc8a..d01a90d0e0 100644 --- a/src/lib/iostream-temp.c +++ b/src/lib/iostream-temp.c @@ -224,7 +224,7 @@ static off_t o_stream_temp_send_istream(struct ostream_private *_outstream, { struct temp_ostream *outstream = (struct temp_ostream *)_outstream; uoff_t orig_offset; - int ret; + off_t ret; if ((outstream->flags & IOSTREAM_TEMP_FLAG_TRY_FD_DUP) != 0) { orig_offset = outstream->dupstream_offset;