Skip to content

Commit ffe3322

Browse files
committed
One more cast
1 parent 08ee616 commit ffe3322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_testmultiphase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ static const char modexport_smoke_test_token;
11241124
static PyObject *
11251125
modexport_smoke_get_test_token(PyObject *mod, PyObject *arg)
11261126
{
1127-
return PyLong_FromVoidPtr(&modexport_smoke_test_token);
1127+
return PyLong_FromVoidPtr((void*)&modexport_smoke_test_token);
11281128
}
11291129

11301130
static PyObject *

0 commit comments

Comments
 (0)