Index: gnome-games/libgames-support/games-files.c
===================================================================
RCS file: /cvs/gnome/gnome-games/libgames-support/games-files.c,v
retrieving revision 1.12
diff -u -r1.12 games-files.c
--- gnome-games/libgames-support/games-files.c	5 May 2006 08:58:55 -0000	1.12
+++ gnome-games/libgames-support/games-files.c	25 Sep 2006 20:31:08 -0000
@@ -344,9 +344,9 @@
 {
   GList *element;
 
-  element = (gchar *)g_list_find_custom (filelist->list, userdata, function);
+  element = g_list_find_custom (filelist->list, userdata, function);
 
-  return element ? g_strdup ((gchar *)element->data) : NULL;
+  return (gchar *)element ? g_strdup ((gchar *)element->data) : NULL;
 }
 
 /**
Index: gnome-games/libgames-support/games-preimage.c
===================================================================
RCS file: /cvs/gnome/gnome-games/libgames-support/games-preimage.c,v
retrieving revision 1.8
diff -u -r1.8 games-preimage.c
--- gnome-games/libgames-support/games-preimage.c	5 May 2006 08:58:55 -0000	1.8
+++ gnome-games/libgames-support/games-preimage.c	25 Sep 2006 20:31:08 -0000
@@ -186,7 +186,7 @@
     preimage->width     = info.width;
     preimage->height    = info.height;
 
-    if (!g_file_get_contents (filename, (gchar **)&(preimage->srcbuffer), 
+     if (!g_file_get_contents (filename, (gchar **)(preimage->srcbuffer), 
 			      &(preimage->srcsize), error)) {
       g_object_unref (preimage);
       return NULL;
