From: Victor Stinner Date: Tue, 29 May 2012 16:51:10 +0000 (+0200) Subject: Issue #14744: Fix compilation on Windows X-Git-Tag: v3.3.0a4~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e577ab38ea5a242471d662e0dbeb0079dc8fb529;p=thirdparty%2FPython%2Fcpython.git Issue #14744: Fix compilation on Windows --- diff --git a/Objects/longobject.c b/Objects/longobject.c index 1369dacca715..80fe724d3455 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