mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 00:46:16 +01:00
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:
parent
0047db2bf0
commit
eaec9bb86e
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user