summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes/test
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-07-15 20:18:46 (GMT)
committerThomas Heller <theller@ctypes.org>2008-07-15 20:18:46 (GMT)
commit2affb40e70808c3613708ab2e360b5070e1583f7 (patch)
treebb565beb9eacd0f4dfe87fb75f75a226044ff705 /Lib/ctypes/test
parent6d75ff82f08a87c156f36b9aaae6a7036c404bb6 (diff)
downloadcpython-2affb40e70808c3613708ab2e360b5070e1583f7.zip
cpython-2affb40e70808c3613708ab2e360b5070e1583f7.tar.gz
cpython-2affb40e70808c3613708ab2e360b5070e1583f7.tar.bz2
Fix test on 64-bit platforms.
Diffstat (limited to 'Lib/ctypes/test')
-rw-r--r--Lib/ctypes/test/test_pep3118.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_pep3118.py b/Lib/ctypes/test/test_pep3118.py
index 119b0ad..4ff2c3e 100644
--- a/Lib/ctypes/test/test_pep3118.py
+++ b/Lib/ctypes/test/test_pep3118.py
@@ -113,7 +113,7 @@ class Incomplete(Structure):
class Complete(Structure):
pass
PComplete = POINTER(Complete)
-Complete._fields_ = [("a", c_int)]
+Complete._fields_ = [("a", c_long)]
################################################################
#