diff --git a/ChangeLog b/ChangeLog index 73be3e436666246fe5be387c4638cbd69577141c..9ee73af55b15fcd27626356f657c215adab5ec84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-12-15 Matthias Clasen + * glib/guniprop.c (interval_compare): Avoid a compiler + warning. + * glib/gspawn.c (do_exec): Call set_cloexec() with the right parameters. (#386252, Guillaume Desmottes) diff --git a/glib/guniprop.c b/glib/guniprop.c index 6bbd9679dddbfba5b4be1e4451df428f68f19334..f2f64172a64ca5f45c280bbedfec9394211d611a 100644 --- a/glib/guniprop.c +++ b/glib/guniprop.c @@ -390,7 +390,7 @@ static int interval_compare (const void *key, const void *elt) { gunichar c = GPOINTER_TO_UINT (key); - struct Interval *interval = elt; + struct Interval *interval = (struct Interval *)elt; if (c < interval->start) return -1;