[Python-checkins] cpython (2.7): fix test where sizeof(long) != sizeof(int)
benjamin.peterson
python-checkins at python.org
Thu Nov 6 06:53:27 CET 2014
https://hg.python.org/cpython/rev/5a2d40435dfe
changeset: 93413:5a2d40435dfe
branch: 2.7
parent: 93409:71d5a69e122b
user: Benjamin Peterson <benjamin at python.org>
date: Thu Nov 06 00:52:58 2014 -0500
summary:
fix test where sizeof(long) != sizeof(int)
files:
Modules/_ctypes/_ctypes_test.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c
--- a/Modules/_ctypes/_ctypes_test.c
+++ b/Modules/_ctypes/_ctypes_test.c
@@ -540,10 +540,10 @@
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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list