mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 13:12:10 +01:00
gibaseinfo: Fix compiler warnings
g_slice_free complains when you pass it a pointer of a different type than it was expecting, like it should. https://bugzilla.gnome.org/show_bug.cgi?id=665249
This commit is contained in:
parent
acd55584c2
commit
fd0625aa6e
@ -254,7 +254,7 @@ g_base_info_unref (GIBaseInfo *info)
|
|||||||
g_object_unref (rinfo->repository);
|
g_object_unref (rinfo->repository);
|
||||||
|
|
||||||
if (rinfo->type == GI_INFO_TYPE_UNRESOLVED)
|
if (rinfo->type == GI_INFO_TYPE_UNRESOLVED)
|
||||||
g_slice_free (GIUnresolvedInfo, rinfo);
|
g_slice_free (GIUnresolvedInfo, (GIUnresolvedInfo *) rinfo);
|
||||||
else
|
else
|
||||||
g_slice_free (GIRealInfo, rinfo);
|
g_slice_free (GIRealInfo, rinfo);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user