[Python-checkins] r64979 - python/trunk/Lib/ctypes/test/test_pep3118.py

thomas.heller python-checkins at python.org
Tue Jul 15 22:18:46 CEST 2008


Author: thomas.heller
Date: Tue Jul 15 22:18:46 2008
New Revision: 64979

Log:
Fix test on 64-bit platforms.

Modified:
   python/trunk/Lib/ctypes/test/test_pep3118.py

Modified: python/trunk/Lib/ctypes/test/test_pep3118.py
==============================================================================
--- python/trunk/Lib/ctypes/test/test_pep3118.py	(original)
+++ python/trunk/Lib/ctypes/test/test_pep3118.py	Tue Jul 15 22:18:46 2008
@@ -113,7 +113,7 @@
 class Complete(Structure):
     pass
 PComplete = POINTER(Complete)
-Complete._fields_ = [("a", c_int)]
+Complete._fields_ = [("a", c_long)]
 
 ################################################################
 #


More information about the Python-checkins mailing list