[pypy-commit] pypy win64_gborg: all errors are gone from test_typed.py.
ctismer
noreply at buildbot.pypy.org
Tue Nov 8 18:11:21 CET 2011
Author: Christian Tismer <tismer at stackless.com>
Branch: win64_gborg
Changeset: r48959:ec8e923109d9
Date: 2011-11-08 18:10 +0100
http://bitbucket.org/pypy/pypy/changeset/ec8e923109d9/
Log: all errors are gone from test_typed.py. This was a major hassle
during the last two days. I was hunting an error which was caused by
the rfficache. On windows, it is hard to see any difference between
compiler configurations. All environment settings are identical. At
the moment, sys.maxind is the only thing that distinguishes the
platforms.
diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -878,7 +878,7 @@
size = llmemory.sizeof(tp) # a symbolic result in this case
return size
if isinstance(tp, lltype.Ptr) or tp is llmemory.Address:
- tp = ULONG # XXX!
+ tp = lltype.Signed
if tp is lltype.Char or tp is lltype.Bool:
return 1
if tp is lltype.UniChar:
More information about the pypy-commit
mailing list