diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2011-11-28 04:56:58 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2011-12-01 10:55:19 -0500 |
commit | b845f9dafbaa6594068a97d17a382383c294e03f (patch) | |
tree | 4b55ac4b4d0f53e6bf251e890f37169f5610e9db /girepository | |
parent | 169b6680c0f765ba8a0045a29f2fcf41ea81e80a (diff) | |
download | gobject-introspection-b845f9dafbaa6594068a97d17a382383c294e03f.tar.gz |
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
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/gibaseinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/gibaseinfo.c b/girepository/gibaseinfo.c index 48af5c21..ab4ce3cf 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); } |