summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-06 05:52:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-11-06 05:52:58 (GMT)
commitabd1c97bd26d9123ff73f49894b486ed263f1f57 (patch)
treee01c774bbd7cf809436cfc68077504cd37fd2ce9 /Modules
parentdc69e03ef3867c03ae1369b7f7262dc83729427a (diff)
downloadcpython-abd1c97bd26d9123ff73f49894b486ed263f1f57.zip
cpython-abd1c97bd26d9123ff73f49894b486ed263f1f57.tar.gz
cpython-abd1c97bd26d9123ff73f49894b486ed263f1f57.tar.bz2
fix test where sizeof(long) != sizeof(int)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/_ctypes_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c
index 0c0d5b6..f957e02 100644
--- a/Modules/_ctypes/_ctypes_test.c
+++ b/Modules/_ctypes/_ctypes_test.c
@@ -527,10 +527,10 @@ EXPORT(int) PointInRect(RECT *prc, POINT pt)
return 1;
}
-EXPORT(int left = 10);
-EXPORT(int top = 20);
-EXPORT(int right = 30);
-EXPORT(int bottom = 40);
+EXPORT(long left = 10);
+EXPORT(long top = 20);
+EXPORT(long right = 30);
+EXPORT(long bottom = 40);
EXPORT(RECT) ReturnRect(int i, RECT ar, RECT* br, POINT cp, RECT dr,
RECT *er, POINT fp, RECT gr)