texture-cache: Fix compile warning

This commit is contained in:
Jasper St. Pierre 2014-04-22 18:35:37 -04:00
parent 5947111f14
commit 90589fabee

View File

@ -1197,7 +1197,7 @@ load_sliced_image (GSimpleAsyncResult *result,
if (!g_file_get_contents (data->path, &buffer, &length, NULL)) if (!g_file_get_contents (data->path, &buffer, &length, NULL))
goto out; goto out;
if (!gdk_pixbuf_loader_write (loader, buffer, length, NULL)) if (!gdk_pixbuf_loader_write (loader, (const guchar *) buffer, length, NULL))
goto out; goto out;
if (!gdk_pixbuf_loader_close (loader, NULL)) if (!gdk_pixbuf_loader_close (loader, NULL))