blob: fix sign extension in test_bit

cute-signatures
Timo Teräs 2016-04-03 16:06:57 +03:00
parent a2a5cd9c69
commit 9039dbe06c
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}