Skip to content
Prev Previous commit
Next Next commit
Fix accumulator type
  • Loading branch information
mdickinson committed Sep 10, 2022
commit 204e924c85e04b8ea8186c1dfa9cf4618063b127
2 changes: 1 addition & 1 deletion Modules/_struct.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ bu_short(_structmodulestate *state, const char *p, const formatdef *f)
static PyObject *
bu_int(_structmodulestate *state, const char *p, const formatdef *f)
{
long x = 0;
unsigned long x = 0;

/* This function is only ever used in the case f->size == 4. */
assert(f->size == 4);
Expand Down