Fix invalid prototype after switches to size_t instead of unsigned int.
This commit is contained in:
parent
db00a6b8de
commit
5ee6bba66b
3 changed files with 7 additions and 7 deletions
|
|
@ -108,7 +108,7 @@ void **make_array_from_list(PyObject *list, int n)
|
|||
}
|
||||
|
||||
#define LIST_FROM_ARRAY_IMPL(TYPE) \
|
||||
PyObject *make_list_from_ ## TYPE ## _array( TYPE *p, unsigned n) \
|
||||
PyObject *make_list_from_ ## TYPE ## _array( TYPE *p, size_t n) \
|
||||
{ \
|
||||
size_t i; \
|
||||
PyObject *list = PyList_New(n); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue