[pypy-commit] pypy pypy-in-a-box: a missing cast
fijal
noreply at buildbot.pypy.org
Wed Jul 18 15:19:23 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: pypy-in-a-box
Changeset: r56148:3acdb894937d
Date: 2012-07-18 15:19 +0200
http://bitbucket.org/pypy/pypy/changeset/3acdb894937d/
Log: a missing cast
diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py
--- a/pypy/objspace/std/embedding.py
+++ b/pypy/objspace/std/embedding.py
@@ -60,7 +60,7 @@
except OperationError:
print "Function did not return int"
return lltype.nullptr(rffi.VOIDP.TO)
- return res
+ return rffi.cast(rffi.VOIDP, res)
def _newfunc(space, name, func):
def newfunc(*args):
More information about the pypy-commit
mailing list