Skip to content

Commit 01ab7be

Browse files
committed
tests: fix incompatible pointer to int conversion
1 parent dda6509 commit 01ab7be

File tree

1 file changed

+1
-1
lines changed
  • tests/fixtures/extended_with_no_setup/extended

1 file changed

+1
-1
lines changed

tests/fixtures/extended_with_no_setup/extended/extended.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ static PyMethodDef module_methods[] = {
1010
{
1111
"hello",
1212
(PyCFunction) hello,
13-
NULL,
13+
METH_NOARGS,
1414
PyDoc_STR("Say hello.")
1515
},
1616
{NULL}

0 commit comments

Comments
 (0)