summaryrefslogtreecommitdiff
path: root/src/_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/_counter.c')
-rw-r--r--src/_counter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_counter.c b/src/_counter.c
index 91d0316..1aaafee 100644
--- a/src/_counter.c
+++ b/src/_counter.c
@@ -127,7 +127,8 @@ CounterObject_dealloc(PCT_CounterObject *self)
static inline PyObject *
_CounterObject_next_value(PCT_CounterObject *self, int little_endian)
{
- unsigned int i, increment;
+ unsigned int i;
+ int increment;
uint8_t *p;
PyObject *eight = NULL;
PyObject *ch = NULL;