summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-05-29 16:51:10 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-05-29 16:51:10 (GMT)
commite577ab38ea5a242471d662e0dbeb0079dc8fb529 (patch)
treedd084a91b2605f404a906fb1e294d52bff0bda43
parent026ba312d4750d9d32fc54eb48eb0c34908b51ce (diff)
downloadcpython-e577ab38ea5a242471d662e0dbeb0079dc8fb529.zip
cpython-e577ab38ea5a242471d662e0dbeb0079dc8fb529.tar.gz
cpython-e577ab38ea5a242471d662e0dbeb0079dc8fb529.tar.bz2
Issue #14744: Fix compilation on Windows
-rw-r--r--Objects/longobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 1369dac..80fe724 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1687,8 +1687,8 @@ long_to_decimal_string_internal(PyObject *aa,
WRITE_DIGITS(Py_UCS2);
}
else {
- assert (kind == PyUnicode_4BYTE_KIND);
Py_UCS4 *p;
+ assert (kind == PyUnicode_4BYTE_KIND);
WRITE_DIGITS(Py_UCS4);
}
#undef WRITE_DIGITS
@@ -1845,8 +1845,8 @@ long_format_binary(PyObject *aa, int base, int alternate,
WRITE_DIGITS(Py_UCS2);
}
else {
- assert (kind == PyUnicode_4BYTE_KIND);
Py_UCS4 *p;
+ assert (kind == PyUnicode_4BYTE_KIND);
WRITE_DIGITS(Py_UCS4);
}
#undef WRITE_DIGITS