[gnome-shell] texture-cache: Fix compile warning



commit 90589fabee4c699161e0643a13d530f8dbe2510a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 22 18:35:37 2014 -0400

    texture-cache: Fix compile warning

 src/st/st-texture-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index fbdf7d6..6ec3581 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -1197,7 +1197,7 @@ load_sliced_image (GSimpleAsyncResult *result,
   if (!g_file_get_contents (data->path, &buffer, &length, NULL))
     goto out;
 
-  if (!gdk_pixbuf_loader_write (loader, buffer, length, NULL))
+  if (!gdk_pixbuf_loader_write (loader, (const guchar *) buffer, length, NULL))
     goto out;
 
   if (!gdk_pixbuf_loader_close (loader, NULL))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]