diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-04-03 16:06:57 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-04-03 16:06:57 +0300 |
commit | 9039dbe06cfe123d04c3306f7316ba91013fc5e6 (patch) | |
tree | 421581f6d8749169bff271a8236189e442cfda81 | |
parent | a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50 (diff) | |
download | apk-tools-9039dbe06cfe123d04c3306f7316ba91013fc5e6.tar.gz apk-tools-9039dbe06cfe123d04c3306f7316ba91013fc5e6.tar.bz2 apk-tools-9039dbe06cfe123d04c3306f7316ba91013fc5e6.tar.xz apk-tools-9039dbe06cfe123d04c3306f7316ba91013fc5e6.zip |
blob: fix sign extension in test_bit
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |