]> granicus.if.org Git - python/commitdiff
Merged revisions 64979 via svnmerge from
authorThomas Heller <theller@ctypes.org>
Tue, 15 Jul 2008 20:23:33 +0000 (20:23 +0000)
committerThomas Heller <theller@ctypes.org>
Tue, 15 Jul 2008 20:23:33 +0000 (20:23 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64979 | thomas.heller | 2008-07-15 22:18:46 +0200 (Tue, 15 Jul 2008) | 1 line

  Fix test on 64-bit platforms.
........

Lib/ctypes/test/test_pep3118.py

index 9a830e99d781f1e7058954606bc307aea6afb3df..7a77f4cea7401ad4ec93e5ac52a8b96565322baa 100644 (file)
@@ -92,7 +92,7 @@ class Incomplete(Structure):
 class Complete(Structure):
     pass
 PComplete = POINTER(Complete)
-Complete._fields_ = [("a", c_int)]
+Complete._fields_ = [("a", c_long)]
 
 ################################################################
 #