Prevent warning

Close #524
This commit is contained in:
topjohnwu 2018-09-09 12:36:42 -04:00
parent 37221a508d
commit 39c82576ae

View File

@ -49,7 +49,7 @@ int main(int argc, char const* argv[]) {
uint8_t in[4], buf[6144]; uint8_t in[4], buf[6144];
unsigned len = 0, pos = 0; unsigned len = 0, pos = 0;
char c; int8_t c;
xz_crc32_init(); xz_crc32_init();
struct xz_dec *dec = xz_dec_init(XZ_DYNALLOC, 1 << 26); struct xz_dec *dec = xz_dec_init(XZ_DYNALLOC, 1 << 26);