aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-html-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-html-stream.c')
-rw-r--r--mail/em-html-stream.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-html-stream.c b/mail/em-html-stream.c
index 820e4a83af..cc3c795d32 100644
--- a/mail/em-html-stream.c
+++ b/mail/em-html-stream.c
@@ -56,10 +56,10 @@ emhs_gtkhtml_destroy (GtkHTML *html,
emhs_cleanup (emhs);
}
-static ssize_t
+static gssize
emhs_sync_write (CamelStream *stream,
const gchar *buffer,
- size_t n)
+ gsize n)
{
EMHTMLStream *emhs = EM_HTML_STREAM (stream);
@@ -72,10 +72,10 @@ emhs_sync_write (CamelStream *stream,
gtk_html_stream_write (emhs->html_stream, buffer, n);
- return (ssize_t) n;
+ return (gssize) n;
}
-static int
+static gint
emhs_sync_flush(CamelStream *stream)
{
EMHTMLStream *emhs = (EMHTMLStream *)stream;
@@ -88,7 +88,7 @@ emhs_sync_flush(CamelStream *stream)
return 0;
}
-static int
+static gint
emhs_sync_close (CamelStream *stream)
{
EMHTMLStream *emhs = (EMHTMLStream *)stream;