texture-cache: Fix compile warning
This commit is contained in:
parent
5947111f14
commit
90589fabee
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user