Skip to content

Commit

Permalink
Cast before returning object
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Apr 1, 2023
1 parent 10c791c commit 533430b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parallel64/hardware/Pin.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ PinObject* create_Pin(
PyObject *pin_class = PyObject_GetAttrString(hw_mod, "Pin");
PyObject *pin = PyObject_CallObject(pin_class, args);

return pin;
return (PinObject *)pin;

}

Expand Down

0 comments on commit 533430b

Please sign in to comment.