Skip to content

Commit 045b98c

Browse files
committed
Fix warnings
1 parent e404ece commit 045b98c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Objects/frameobject.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2359,21 +2359,21 @@ PyObject*
23592359
PyFrame_GetLocals(PyFrameObject *frame)
23602360
{
23612361
assert(!_PyFrame_IsIncomplete(frame->f_frame));
2362-
return frame_locals_get(frame, NULL);
2362+
return frame_locals_get((PyObject *)frame, NULL);
23632363
}
23642364

23652365
PyObject*
23662366
PyFrame_GetGlobals(PyFrameObject *frame)
23672367
{
23682368
assert(!_PyFrame_IsIncomplete(frame->f_frame));
2369-
return frame_globals_get(frame, NULL);
2369+
return frame_globals_get((PyObject *)frame, NULL);
23702370
}
23712371

23722372
PyObject*
23732373
PyFrame_GetBuiltins(PyFrameObject *frame)
23742374
{
23752375
assert(!_PyFrame_IsIncomplete(frame->f_frame));
2376-
return frame_builtins_get(frame, NULL);
2376+
return frame_builtins_get((PyObject *)frame, NULL);
23772377
}
23782378

23792379
int

0 commit comments

Comments
 (0)