Skip to content

Commit

Permalink
Merge pull request #117 from Stuckya/arm-bitmask-fix
Browse files Browse the repository at this point in the history
Python Bindings: 32bit ARM capability w/ bitmask
  • Loading branch information
sidcha committed Jun 13, 2023
2 parents 88904c8 + 34df115 commit cb0bbaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyosdp_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@return PD status bitmask"
static PyObject *pyosdp_cp_pd_status(pyosdp_cp_t *self, PyObject *args)
{
uint64_t bitmask = 0;
uint32_t bitmask = 0;

osdp_get_status_mask(self->ctx, (uint8_t *)&bitmask);

Expand All @@ -27,7 +27,7 @@ static PyObject *pyosdp_cp_pd_status(pyosdp_cp_t *self, PyObject *args)
"@return Secure Channel Status bitmask"
static PyObject *pyosdp_cp_sc_status(pyosdp_cp_t *self, PyObject *args)
{
uint64_t bitmask = 0;
uint32_t bitmask = 0;

osdp_get_sc_status_mask(self->ctx, (uint8_t *)&bitmask);

Expand Down

0 comments on commit cb0bbaf

Please sign in to comment.