From e577ab38ea5a242471d662e0dbeb0079dc8fb529 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 29 May 2012 18:51:10 +0200 Subject: Issue #14744: Fix compilation on Windows --- Objects/longobject.c | 4 ++-- 1 file 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 -- cgit v0.12