commit | f33dea29619d755db9608265a28fabea9690145a | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Apr 13 13:08:58 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Apr 13 13:08:58 2006 +0000 |
tree | d954a12e36d3a47728cabc7abf63eafcaeee3a03 | |
parent | 5d4cf5ecc113ad0aab5e52ae8cf1057b12e1a6d4 [diff] |
Fix type errors.
diff --git a/Python/asdl.c b/Python/asdl.c index 416b293..72329b9 100644 --- a/Python/asdl.c +++ b/Python/asdl.c
@@ -21,11 +21,11 @@ asdl_int_seq * asdl_int_seq_new(int size, PyArena *arena) { - asdl_seq *seq = NULL; + asdl_int_seq *seq = NULL; size_t n = sizeof(asdl_seq) + (size ? (sizeof(int) * (size - 1)) : 0); - seq = (asdl_seq *)PyArena_Malloc(arena, n); + seq = (asdl_int_seq *)PyArena_Malloc(arena, n); if (!seq) { PyErr_NoMemory(); return NULL;