From b845f9dafbaa6594068a97d17a382383c294e03f Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 28 Nov 2011 04:56:58 -0500 Subject: [PATCH] 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 --- girepository/gibaseinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/girepository/gibaseinfo.c b/girepository/gibaseinfo.c index 48af5c2..ab4ce3c 100644 --- a/girepository/gibaseinfo.c +++ b/girepository/gibaseinfo.c @@ -254,7 +254,7 @@ g_base_info_unref (GIBaseInfo *info) g_object_unref (rinfo->repository); if (rinfo->type == GI_INFO_TYPE_UNRESOLVED) - g_slice_free (GIUnresolvedInfo, rinfo); + g_slice_free (GIUnresolvedInfo, (GIUnresolvedInfo *) rinfo); else g_slice_free (GIRealInfo, rinfo); } -- 2.7.4