aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-seekable-substream.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-seekable-substream.c')
-rw-r--r--camel/camel-seekable-substream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-seekable-substream.c b/camel/camel-seekable-substream.c
index 321783b306..16b2f56e08 100644
--- a/camel/camel-seekable-substream.c
+++ b/camel/camel-seekable-substream.c
@@ -231,7 +231,7 @@ _init_with_seekable_stream_and_bounds (CamelSeekableSubstream *seekable_substre
-CamelSeekableSubstream *
+CamelStream *
camel_seekable_substream_new_with_seekable_stream_and_bounds (CamelSeekableStream *parent_stream,
guint32 inf_bound,
gint64 sup_bound)
@@ -246,7 +246,7 @@ camel_seekable_substream_new_with_seekable_stream_and_bounds (CamelSeekableStrea
parent_stream,
inf_bound,
sup_bound);
- return seekable_substream;
+ return CAMEL_STREAM (seekable_substream);
}