[Python-checkins] cpython: Fix a compilater warning on Windows 64-bit

victor.stinner python-checkins at python.org
Fri May 17 00:06:36 CEST 2013


http://hg.python.org/cpython/rev/16a00dd78cd0
changeset:   83801:16a00dd78cd0
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri May 17 00:04:56 2013 +0200
summary:
  Fix a compilater warning on Windows 64-bit

files:
  Python/formatter_unicode.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -315,7 +315,7 @@
 
 /* Do the padding, and return a pointer to where the caller-supplied
    content goes. */
-static Py_ssize_t
+static int
 fill_padding(_PyUnicodeWriter *writer,
              Py_ssize_t nchars,
              Py_UCS4 fill_char, Py_ssize_t n_lpadding,

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list