From: Matthias Clasen Date: Fri, 15 Dec 2006 22:13:53 +0000 (+0000) Subject: Avoid a compiler warning. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=eaec9bb86e7ccbeef94d6256c27edc549b785962;p=dana%2Fcg-glib.git Avoid a compiler warning. 2006-12-15 Matthias Clasen * glib/guniprop.c (interval_compare): Avoid a compiler warning. --- diff --git a/ChangeLog b/ChangeLog index 73be3e43..9ee73af5 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 6bbd9679..f2f64172 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;