diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/ephy-favicon-cache.c | 2 | ||||
-rw-r--r-- | lib/ephy-dnd.c | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2005-08-13 Christian Persch <chpe@cvs.gnome.org> + + * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): + * lib/ephy-dnd.c: (ephy_dnd_drag_data_get): + + More gcc4 fixes. + 2005-08-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 7ff754afc..e720bb7a8 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -749,7 +749,7 @@ ephy_favicon_cache_get (EphyFaviconCache *cache, { if (g_file_get_contents (pix_file, &buf, &count, NULL)) { - gdk_pixbuf_loader_write (loader, buf, count, NULL); + gdk_pixbuf_loader_write (loader, (const guchar *) buf, count, NULL); g_free (buf); } diff --git a/lib/ephy-dnd.c b/lib/ephy-dnd.c index 68510d85f..ae610ca45 100644 --- a/lib/ephy-dnd.c +++ b/lib/ephy-dnd.c @@ -109,7 +109,7 @@ ephy_dnd_drag_data_get (GtkWidget *widget, gtk_selection_data_set (selection_data, selection_data->target, - 8, result->str, result->len); + 8, (const guchar *) result->str, result->len); g_string_free (result, TRUE); |