summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-05-16 22:04:56 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-05-16 22:04:56 (GMT)
commit9ce59bbe43178fa033234412318c64abc817cb40 (patch)
treede5e68a8816d51a56490daa2b46af2160d5c7c0b /Python
parentd3dfd0e433241de76d4f3f4dba4d8ef59f09e61d (diff)
downloadcpython-9ce59bbe43178fa033234412318c64abc817cb40.zip
cpython-9ce59bbe43178fa033234412318c64abc817cb40.tar.gz
cpython-9ce59bbe43178fa033234412318c64abc817cb40.tar.bz2
Fix a compilater warning on Windows 64-bit
Diffstat (limited to 'Python')
-rw-r--r--Python/formatter_unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 548b49a..bb173d9 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -315,7 +315,7 @@ calc_padding(Py_ssize_t nchars, Py_ssize_t width, Py_UCS4 align,
/* 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,