[pypy-svn] r61877 - pypy/branch/oo-jit/pypy/translator/c
antocuni at codespeak.net
antocuni at codespeak.net
Sat Feb 14 13:34:08 CET 2009
Author: antocuni
Date: Sat Feb 14 13:34:08 2009
New Revision: 61877
Modified:
pypy/branch/oo-jit/pypy/translator/c/funcgen.py
Log:
this change belongs to r60900
Modified: pypy/branch/oo-jit/pypy/translator/c/funcgen.py
==============================================================================
--- pypy/branch/oo-jit/pypy/translator/c/funcgen.py (original)
+++ pypy/branch/oo-jit/pypy/translator/c/funcgen.py Sat Feb 14 13:34:08 2009
@@ -764,7 +764,7 @@
if isinstance(msg, Constant):
msg = c_string_constant(''.join(msg.value.chars))
else:
- msg = 'RPyString_AsString(%s)' % self.expr(msg)
+ msg = 'RPyString_AsCharP(%s)' % self.expr(msg)
return 'fprintf(stderr, "%%s\\n", %s); abort();' % msg
More information about the Pypy-commit
mailing list