Kaydet (Commit) f33dea29 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Fix type errors.

üst 5d4cf5ec
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment