summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory-async.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-directory-async.c')
-rw-r--r--libcaja-private/caja-directory-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c
index e1a44353..a20d90d7 100644
--- a/libcaja-private/caja-directory-async.c
+++ b/libcaja-private/caja-directory-async.c
@@ -4307,7 +4307,7 @@ get_pixbuf_for_content (goffset file_len,
while (res && file_len > 0)
{
chunk_len = file_len;
- res = gdk_pixbuf_loader_write (loader, file_contents, chunk_len, NULL);
+ res = gdk_pixbuf_loader_write (loader, (guchar *) file_contents, chunk_len, NULL);
file_contents += chunk_len;
file_len -= chunk_len;
}