[Python-checkins] r81898 - python/branches/py3k/Modules/_struct.c
mark.dickinson
python-checkins at python.org
Fri Jun 11 21:05:08 CEST 2010
Author: mark.dickinson
Date: Fri Jun 11 21:05:08 2010
New Revision: 81898
Log:
Fix an incorrect return type.
Modified:
python/branches/py3k/Modules/_struct.c
Modified: python/branches/py3k/Modules/_struct.c
==============================================================================
--- python/branches/py3k/Modules/_struct.c (original)
+++ python/branches/py3k/Modules/_struct.c Fri Jun 11 21:05:08 2010
@@ -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) {
More information about the Python-checkins
mailing list