Skip to content

Commit

Permalink
typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Oct 17, 2024
1 parent 4a9ee0c commit 129193f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/partitions_status/type.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ PyObject *create_py_partitions_status_object(as_error *err,

AerospikePartitionsStatusObject *py_parts_all =
(AerospikePartitionsStatusObject *)PyObject_CallNoArgs(
&AerospikePartitionsStatusObject_Type);
(PyObject *)&AerospikePartitionsStatusObject_Type);
if (py_parts_all == NULL) {
PyErr_Clear();
as_error_update(
Expand Down

0 comments on commit 129193f

Please sign in to comment.