Correct some value converting strangenesses.

This commit is contained in:
Georg Brandl 2006-05-29 19:39:45 +00:00
parent 162997efb1
commit 2cfaa34dfa
4 changed files with 7 additions and 7 deletions

View file

@ -112,7 +112,7 @@ get_counts(void)
if (result == NULL)
return NULL;
for (tp = type_list; tp; tp = tp->tp_next) {
v = Py_BuildValue("(siii)", tp->tp_name, tp->tp_allocs,
v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs,
tp->tp_frees, tp->tp_maxalloc);
if (v == NULL) {
Py_DECREF(result);