]> granicus.if.org Git - python/commitdiff
Fix test on 64-bit platforms.
authorThomas Heller <theller@ctypes.org>
Tue, 15 Jul 2008 20:18:46 +0000 (20:18 +0000)
committerThomas Heller <theller@ctypes.org>
Tue, 15 Jul 2008 20:18:46 +0000 (20:18 +0000)
Lib/ctypes/test/test_pep3118.py

index 119b0ada87a07994ddc785b73450b38f41700e68..4ff2c3ed367bea3c11db2dffd8847f0688182b21 100644 (file)
@@ -113,7 +113,7 @@ class Incomplete(Structure):
 class Complete(Structure):
     pass
 PComplete = POINTER(Complete)
-Complete._fields_ = [("a", c_int)]
+Complete._fields_ = [("a", c_long)]
 
 ################################################################
 #