Skip to content

Commit abd1c97

Browse files
committed
fix test where sizeof(long) != sizeof(int)
1 parent dc69e03 commit abd1c97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Modules/_ctypes/_ctypes_test.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,10 @@ EXPORT(int) PointInRect(RECT *prc, POINT pt)
527527
return 1;
528528
}
529529

530-
EXPORT(int left = 10);
531-
EXPORT(int top = 20);
532-
EXPORT(int right = 30);
533-
EXPORT(int bottom = 40);
530+
EXPORT(long left = 10);
531+
EXPORT(long top = 20);
532+
EXPORT(long right = 30);
533+
EXPORT(long bottom = 40);
534534

535535
EXPORT(RECT) ReturnRect(int i, RECT ar, RECT* br, POINT cp, RECT dr,
536536
RECT *er, POINT fp, RECT gr)

0 commit comments

Comments
 (0)