Skip to content

Commit c319141

Browse files
committed
Fix compiler warning.
1 parent 525ff6c commit c319141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/rangeobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ PyTypeObject PyRange_Type = {
762762
0, /* tp_init */
763763
0, /* tp_alloc */
764764
range_new, /* tp_new */
765-
.tp_vectorcall = range_vectorcall
765+
.tp_vectorcall = (vectorcallfunc)range_vectorcall
766766
};
767767

768768
/*********************** range Iterator **************************/

0 commit comments

Comments
 (0)