diff options
author | Johan Dahlin <jdahlin@async.com.br> | 2008-06-21 13:09:57 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-06-21 13:09:57 +0000 |
commit | a1362779eea72182cb6cddd15e147125ae51ce02 (patch) | |
tree | 400ae17175e7df9c6a6f93640a2f97ab25fc17fe | |
parent | 33d64796d05c504eeb0d4254a241c3fd8278784f (diff) | |
download | gtk+-a1362779eea72182cb6cddd15e147125ae51ce02.tar.gz |
Cast to guint8* to avoid a compiler warning.
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
a compiler warning.
svn path=/trunk/; revision=20665
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gtk/gtkiconcachevalidator.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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)); } |