Issue #9566: Fix a compiler warning on Windows x64

This commit is contained in:
Victor Stinner 2013-06-24 23:34:15 +02:00
parent 2199c38729
commit 76d38502e4
1 changed files with 2 additions and 4 deletions

View File

@ -982,8 +982,7 @@ format_float_internal(PyObject *value,
Py_ssize_t n_total;
int has_decimal;
double val;
Py_ssize_t precision;
Py_ssize_t default_precision = 6;
int precision, default_precision = 6;
Py_UCS4 type = format->type;
int add_pct = 0;
Py_ssize_t index;
@ -1138,8 +1137,7 @@ format_complex_internal(PyObject *value,
Py_ssize_t n_im_total;
int re_has_decimal;
int im_has_decimal;
int precision;
Py_ssize_t default_precision = 6;
int precision, default_precision = 6;
Py_UCS4 type = format->type;
Py_ssize_t i_re;
Py_ssize_t i_im;