diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-13 13:08:58 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-13 13:08:58 (GMT) |
commit | f33dea29619d755db9608265a28fabea9690145a (patch) | |
tree | d954a12e36d3a47728cabc7abf63eafcaeee3a03 /Python/asdl.c | |
parent | 5d4cf5ecc113ad0aab5e52ae8cf1057b12e1a6d4 (diff) | |
download | cpython-f33dea29619d755db9608265a28fabea9690145a.zip cpython-f33dea29619d755db9608265a28fabea9690145a.tar.gz cpython-f33dea29619d755db9608265a28fabea9690145a.tar.bz2 |
Fix type errors.
Diffstat (limited to 'Python/asdl.c')
-rw-r--r-- | Python/asdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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_seq_new(int size, PyArena *arena) 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; |