[pypy-commit] pypy kill-exported-symbols-list: oups. Giving "i" to PyArg_ParseTuple but arg is a pointer to a long -- should be int
arigo
noreply at buildbot.pypy.org
Thu Oct 23 15:23:45 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: kill-exported-symbols-list
Changeset: r74117:476ee156a38d
Date: 2014-10-23 15:23 +0200
http://bitbucket.org/pypy/pypy/changeset/476ee156a38d/
Log: oups. Giving "i" to PyArg_ParseTuple but arg is a pointer to a long
-- should be int
diff --git a/pypy/module/cpyext/test/test_intobject.py b/pypy/module/cpyext/test/test_intobject.py
--- a/pypy/module/cpyext/test/test_intobject.py
+++ b/pypy/module/cpyext/test/test_intobject.py
@@ -79,7 +79,7 @@
("newEnum", "METH_VARARGS",
"""
EnumObject *enumObj;
- long intval;
+ int intval;
PyObject *name;
if (!PyArg_ParseTuple(args, "Oi", &name, &intval))
More information about the pypy-commit
mailing list