[Python-checkins] cpython: Issue #9566: Fix a compiler warning on Windows x64
victor.stinner
python-checkins at python.org
Mon Jun 24 23:34:37 CEST 2013
http://hg.python.org/cpython/rev/72087ebf83f0
changeset: 84326:72087ebf83f0
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jun 24 23:34:15 2013 +0200
summary:
Issue #9566: Fix a compiler warning on Windows x64
files:
Python/formatter_unicode.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -982,8 +982,7 @@
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 @@
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;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list