summaryrefslogtreecommitdiff
path: root/Include/cpython/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/abstract.h')
-rwxr-xr-x[-rw-r--r--]Include/cpython/abstract.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/abstract.h b/Include/cpython/abstract.h
index 62a113fc00..04e4a9e7bd 100644..100755
--- a/Include/cpython/abstract.h
+++ b/Include/cpython/abstract.h
@@ -243,7 +243,7 @@ PyAPI_FUNC(void *) PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices);
/* Return the implied itemsize of the data-format area from a
struct-style description. */
-PyAPI_FUNC(int) PyBuffer_SizeFromFormat(const char *);
+PyAPI_FUNC(Py_ssize_t) PyBuffer_SizeFromFormat(const char *format);
/* Implementation in memoryobject.c */
PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,