summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2009-07-21 19:04:02 (GMT)
committerThomas Heller <theller@ctypes.org>2009-07-21 19:04:02 (GMT)
commitd8431ae3bd3fea2b8a3c03d7d330c789c7bf7453 (patch)
tree1faca75aff7e0af899e1b275dfec0395199f9395 /Modules
parent24d9175ebe6c6eba6d7c648112a25bc1c14f83c1 (diff)
downloadcpython-d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453.zip
cpython-d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453.tar.gz
cpython-d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453.tar.bz2
Revert rev 74134, as it does not completely fixx issue #6493.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/cfield.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/cfield.c b/Modules/_ctypes/cfield.c
index 7663481..bf247bc 100644
--- a/Modules/_ctypes/cfield.c
+++ b/Modules/_ctypes/cfield.c
@@ -426,9 +426,9 @@ get_ulonglong(PyObject *v, unsigned PY_LONG_LONG *p)
#define LOW_BIT(x) ((x) & 0xFFFF)
#define NUM_BITS(x) ((x) >> 16)
-/* This seems more a compiler issue than a Windows/non-Windows one */
+/* This seems nore a compiler issue than a Windows/non-Windows one */
#ifdef MS_WIN32
-# define BIT_MASK(size) ((1i64 << NUM_BITS(size))-1)
+# define BIT_MASK(size) ((1 << NUM_BITS(size))-1)
#else
# define BIT_MASK(size) ((1LL << NUM_BITS(size))-1)
#endif