From 9dcab59b088f0cee1c7a2581f50f227defe2d3a2 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 6 Nov 2014 00:52:58 -0500 Subject: [PATCH] fix test where sizeof(long) != sizeof(int) --- Modules/_ctypes/_ctypes_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c index 5f427dbebf..a52f650a2b 100644 --- a/Modules/_ctypes/_ctypes_test.c +++ b/Modules/_ctypes/_ctypes_test.c @@ -540,10 +540,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) -- 2.50.1