[pypy-svn] r78144 - pypy/trunk/pypy/module/test_lib_pypy/ctypes_tests

arigo at codespeak.net arigo at codespeak.net
Wed Oct 20 17:59:13 CEST 2010


Author: arigo
Date: Wed Oct 20 17:59:12 2010
New Revision: 78144

Modified:
   pypy/trunk/pypy/module/test_lib_pypy/ctypes_tests/test_keepalive.py
Log:
Fix for 64-bits.


Modified: pypy/trunk/pypy/module/test_lib_pypy/ctypes_tests/test_keepalive.py
==============================================================================
--- pypy/trunk/pypy/module/test_lib_pypy/ctypes_tests/test_keepalive.py	(original)
+++ pypy/trunk/pypy/module/test_lib_pypy/ctypes_tests/test_keepalive.py	Wed Oct 20 17:59:12 2010
@@ -10,7 +10,7 @@
     """
     def test_array_of_pointers(self):
         # tests array item assignements & pointer.contents = ...
-        A = POINTER(c_int) * 24
+        A = POINTER(c_long) * 24
         a = A()
         l = c_long(2)
         p = pointer(l)



More information about the Pypy-commit mailing list