summaryrefslogtreecommitdiff
path: root/src/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.c')
-rw-r--r--src/blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.c b/src/blob.c
index 9147afa..4bedfbc 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -116,7 +116,7 @@ int apk_blob_cspn(apk_blob_t blob, const apk_spn_match reject, apk_blob_t *l, ap
return 1;
}
#else
-static int inline test_bit(const unsigned char *array, unsigned bit)
+static int inline test_bit(const unsigned char *array, unsigned char bit)
{
return array[bit >> 3] & (1 << (bit & 7));
}