summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2010-04-15 14:52:41 -0400
committerJohn (J5) Palmieri <johnp@redhat.com>2010-04-15 14:52:41 -0400
commit7c8e0638ba53c6771ae6adfcb0c74d3db9bfff18 (patch)
treed41db95e2c24a55b243515cce393d83b68ed7545
parente737cc6b3002e2d4fc3c9c0c7a9f160394bd93f8 (diff)
downloadpygi-7c8e0638ba53c6771ae6adfcb0c74d3db9bfff18.tar.gz
pygi-7c8e0638ba53c6771ae6adfcb0c74d3db9bfff18.tar.xz
pygi-7c8e0638ba53c6771ae6adfcb0c74d3db9bfff18.zip
use AsLong instead of AS_LONG
-rw-r--r--gi/pygi-argument.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index 6690ea4..8ba42ba 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -714,7 +714,7 @@ _pygi_argument_from_object (PyObject *object,
}
if (PyLong_Check(number)) {
- value = PyLong_AS_LONG(number);
+ value = PyLong_AsLong(number);
} else {
value = PyLong_AsUnsignedLongLong(number);
}
@@ -736,7 +736,7 @@ _pygi_argument_from_object (PyObject *object,
}
if (PyLong_Check(number)) {
- value = PyLong_AS_LONG(number);
+ value = PyLong_AsLong(number);
} else {
value = PyLong_AsLongLong(number);
}