Skip to content

Commit 1065273

Browse files
corona10vstinner
andauthored
Update Modules/_testinternalcapi.c
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 9215b43 commit 1065273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testinternalcapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3012,7 +3012,7 @@ module_exec(PyObject *module)
30123012
unsigned long threshold = interp->opt_config.jump_backward_initial_value + 2;
30133013
if (PyModule_Add(module, "TIER2_THRESHOLD",
30143014
// + 1 more due to one loop spent on tracing.
3015-
PyLong_FromLong(threshold)) < 0) {
3015+
PyLong_FromUnsignedLong(threshold)) < 0) {
30163016
return 1;
30173017
}
30183018

0 commit comments

Comments
 (0)