[pygobject/gsoc2009: 57/160] Suppress a compilation warning
- From: Simon van der Linden <svdlinden src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygobject/gsoc2009: 57/160] Suppress a compilation warning
- Date: Fri, 14 Aug 2009 21:26:52 +0000 (UTC)
commit 2c66b352680b6e40ecdc7c0291f9f70d557416fa
Author: Simon van der Linden <svdlinden src gnome org>
Date: Thu Jul 23 11:06:45 2009 +0200
Suppress a compilation warning
gi/pygargument.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygargument.c b/gi/pygargument.c
index 8e264c9..c329a96 100644
--- a/gi/pygargument.c
+++ b/gi/pygargument.c
@@ -685,7 +685,7 @@ pygi_g_argument_from_py_object(PyObject *object, GITypeInfo *type_info)
GType object_type;
gint retval;
- object_type = pyg_type_from_object(object->ob_type);
+ object_type = pyg_type_from_object((PyObject *)object->ob_type);
if (object_type == G_TYPE_INVALID) {
PyErr_SetString(PyExc_RuntimeError, "Unable to retrieve object's GType");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]