Commit 0917ba56 authored by Lisandro Dalcin's avatar Lisandro Dalcin Committed by GitHub

Fix C compiler warning about implicit sign conversion (GH-4439)

parent 00ffb022
......@@ -768,7 +768,7 @@ static int __Pyx_MergeVtables(PyTypeObject *type) {
base = base->tp_base;
}
}
base_vtables = (void**) malloc(sizeof(void*) * (base_depth + 1));
base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
base_vtables[0] = unknown;
// Could do MRO resolution of individual methods in the future, assuming
// compatible vtables, but for now simply require a common vtable base.
......
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