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
This commit is contained in:
Johan Dahlin 2008-06-21 13:09:57 +00:00 committed by Johan Dahlin
parent 33d64796d0
commit a1362779ee
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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));
}