Skip to content

Commit b706936

Browse files
committed
Fix warning
1 parent 676d639 commit b706936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/frameobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,7 @@ PyFrame_GetLasti(PyFrameObject *frame)
23882388
Py_BEGIN_CRITICAL_SECTION(frame);
23892389
assert(!_PyFrame_IsIncomplete(frame->f_frame));
23902390
int lasti = _PyInterpreterFrame_LASTI(frame->f_frame);
2391-
ret = lasti < 0 ? -1 : lasti * sizeof(_Py_CODEUNIT);
2391+
ret = lasti < 0 ? -1 : lasti * (int)sizeof(_Py_CODEUNIT);
23922392
Py_END_CRITICAL_SECTION();
23932393
return ret;
23942394
}

0 commit comments

Comments
 (0)