summaryrefslogtreecommitdiff
path: root/gascop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gascop.c')
-rw-r--r--gascop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gascop.c b/gascop.c
index 435b781..6293b47 100644
--- a/gascop.c
+++ b/gascop.c
@@ -70,7 +70,7 @@ void pocsag_msg_init(struct pocsag_msg *msg) {
}
int hammingWeight(uint32_t n) {
- unsigned int c;
+ int c;
for (c = 0; n; c++)
n &= n - 1;
return c;