Avoid a compiler warning.

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/guniprop.c (interval_compare): Avoid a compiler
        warning.
This commit is contained in:
Matthias Clasen 2006-12-15 22:13:53 +00:00 committed by Matthias Clasen
parent 0047db2bf0
commit eaec9bb86e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-12-15 Matthias Clasen <mclasen@redhat.com>
* glib/guniprop.c (interval_compare): Avoid a compiler
warning.
* glib/gspawn.c (do_exec): Call set_cloexec() with
the right parameters. (#386252, Guillaume Desmottes)

View File

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