commit | eac0e68c10df0db53c48abf30c3e080588e1165a | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Fri Jun 11 19:05:08 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Fri Jun 11 19:05:08 2010 +0000 |
tree | 790415a725f67e453757836df50fa39c1cb5ff90 | |
parent | ab4096f2f9cc3f2a06e24d8dbe9c3e8e0ba155f0 [diff] |
Fix an incorrect return type.
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 @@ /* 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) {