summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gtk/gtkiconcachevalidator.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 19d13374e0..19c57e4cf4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-21 Johan Dahlin <jdahlin@async.com.br>
+
+ * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
+ a compiler warning.
+
2008-06-21 Michael Natterer <mitch@imendio.com>
* gdk/gdkapplaunchcontext.h: remove redundant include, fix
diff --git a/gtk/gtkiconcachevalidator.c b/gtk/gtkiconcachevalidator.c
index 5f322d6b39..e567474b2d 100644
--- a/gtk/gtkiconcachevalidator.c
+++ b/gtk/gtkiconcachevalidator.c
@@ -166,7 +166,7 @@ check_pixel_data (CacheInfo *info,
GdkPixdata data;
check ("pixel data", gdk_pixdata_deserialize (&data, length,
- info->cache + offset + 8,
+ (const guint8*)info->cache + offset + 8,
NULL));
}