From a1362779eea72182cb6cddd15e147125ae51ce02 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 21 Jun 2008 13:09:57 +0000 Subject: Cast to guint8* to avoid a compiler warning. 2008-06-21 Johan Dahlin * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid a compiler warning. svn path=/trunk/; revision=20665 --- ChangeLog | 5 +++++ gtk/gtkiconcachevalidator.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 19d13374e0..19c57e4cf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-21 Johan Dahlin + + * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid + a compiler warning. + 2008-06-21 Michael Natterer * 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)); } -- cgit v1.2.1