Skip to content

Commit bdfe660

Browse files
committed
Fix free-threading errors (still need to get to warnings)
1 parent 13a97f3 commit bdfe660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/gc_free_threading.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,7 +2376,7 @@ gc_collect_main(PyThreadState *tstate, int generation, _PyGC_Reason reason)
23762376
GC_STAT_ADD(generation, collections, 1);
23772377

23782378
if (reason != _Py_GC_REASON_SHUTDOWN) {
2379-
invoke_gc_callback(tstate, "start", generation, 0, 0, 0, 0);
2379+
invoke_gc_callback(tstate, "start", generation, 0, 0, 0, 0.0);
23802380
}
23812381

23822382
if (gcstate->debug & _PyGC_DEBUG_STATS) {
@@ -2450,7 +2450,7 @@ gc_collect_main(PyThreadState *tstate, int generation, _PyGC_Reason reason)
24502450
}
24512451

24522452
if (reason != _Py_GC_REASON_SHUTDOWN) {
2453-
invoke_gc_callback(tstate, "stop", generation, m, n, state->visited, duration);
2453+
invoke_gc_callback(tstate, "stop", generation, m, n, state.visited, duration);
24542454
}
24552455

24562456
assert(!_PyErr_Occurred(tstate));

0 commit comments

Comments
 (0)