Author: Armin Rigo <[email protected]>
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))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to