From: Benjamin Peterson Date: Thu, 6 Nov 2014 05:52:58 +0000 (-0500) Subject: fix test where sizeof(long) != sizeof(int) X-Git-Tag: v3.5.0a1~512^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abd1c97bd26d9123ff73f49894b486ed263f1f57;p=python fix test where sizeof(long) != sizeof(int) --- diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c index 0c0d5b642e..f957e02f1f 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)