mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +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>
|
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
|
* glib/gspawn.c (do_exec): Call set_cloexec() with
|
||||||
the right parameters. (#386252, Guillaume Desmottes)
|
the right parameters. (#386252, Guillaume Desmottes)
|
||||||
|
|
||||||
|
@ -390,7 +390,7 @@ static int
|
|||||||
interval_compare (const void *key, const void *elt)
|
interval_compare (const void *key, const void *elt)
|
||||||
{
|
{
|
||||||
gunichar c = GPOINTER_TO_UINT (key);
|
gunichar c = GPOINTER_TO_UINT (key);
|
||||||
struct Interval *interval = elt;
|
struct Interval *interval = (struct Interval *)elt;
|
||||||
|
|
||||||
if (c < interval->start)
|
if (c < interval->start)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user