]> granicus.if.org Git - python/commitdiff
fix test where sizeof(long) != sizeof(int)
authorBenjamin Peterson <benjamin@python.org>
Thu, 6 Nov 2014 05:52:58 +0000 (00:52 -0500)
committerBenjamin Peterson <benjamin@python.org>
Thu, 6 Nov 2014 05:52:58 +0000 (00:52 -0500)
Modules/_ctypes/_ctypes_test.c

index 0c0d5b642e04a714449c2783fbfaa75d2ce1231c..f957e02f1fd77937093f7dbdd7519e97b0a268b1 100644 (file)
@@ -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)