aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-icon-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-icon-stream.c')
-rw-r--r--mail/em-icon-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-icon-stream.c b/mail/em-icon-stream.c
index 7fc69dbaa6..538133be06 100644
--- a/mail/em-icon-stream.c
+++ b/mail/em-icon-stream.c
@@ -143,7 +143,7 @@ emis_sync_write(CamelStream *stream, const char *buffer, size_t n)
if (emis->loader == NULL)
return -1;
- if (!gdk_pixbuf_loader_write(emis->loader, buffer, n, NULL)) {
+ if (!gdk_pixbuf_loader_write(emis->loader, (const unsigned char *)buffer, n, NULL)) {
emis_cleanup(emis);
return -1;
}