Skip to content

Commit

Permalink
fix: converts uint64 to uint32 for arm device capability.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuckya committed May 19, 2023
1 parent 35cd5ca commit 34df115
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 34df115

Please sign in to comment.