Skip to content
Snippets Groups Projects
Commit 9039dbe0 authored by Timo Teräs's avatar Timo Teräs
Browse files

blob: fix sign extension in test_bit

parent a2a5cd9c
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment