diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-11 19:05:08 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-11 19:05:08 (GMT) |
commit | eac0e68c10df0db53c48abf30c3e080588e1165a (patch) | |
tree | 790415a725f67e453757836df50fa39c1cb5ff90 /Modules/_struct.c | |
parent | ab4096f2f9cc3f2a06e24d8dbe9c3e8e0ba155f0 (diff) | |
download | cpython-eac0e68c10df0db53c48abf30c3e080588e1165a.zip cpython-eac0e68c10df0db53c48abf30c3e080588e1165a.tar.gz cpython-eac0e68c10df0db53c48abf30c3e080588e1165a.tar.bz2 |
Fix an incorrect return type.
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r-- | Modules/_struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index e05fb73..5113b93 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -1145,7 +1145,7 @@ getentry(int c, const formatdef *f) /* Align a size according to a format code */ -static int +static Py_ssize_t align(Py_ssize_t size, char c, const formatdef *e) { if (e->format == c) { |