10000 Fix warning in tests · python/cpython@439de5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 439de5d

Browse files
committed
Fix warning in tests
1 parent 075ca51 commit 439de5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testcapi/heaptype_relative.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ make_sized_heaptypes(PyObject *module, PyObject *args)
5959
goto finally;
6060
}
6161

62-
result = Py_BuildValue("OOOln", base, sub, instance, (long)data_ptr,
62+
result = Py_BuildValue("OOOKn", base, sub, instance, (unsigned long long)data_ptr,
6363
data_size);
6464
finally:
6565
Py_XDECREF(base);

0 commit comments

Comments
 (0)
0