diff --git a/jni/magiskboot/compress.c b/jni/magiskboot/compress.c index db0f31ddf..5c815b55e 100644 --- a/jni/magiskboot/compress.c +++ b/jni/magiskboot/compress.c @@ -125,7 +125,7 @@ void lzma(int mode, const char* filename, const unsigned char* buf, size_t size) ret = lzma_auto_decoder(&strm, UINT64_MAX, 0); break; case 1: - ret = lzma_stream_encoder(&strm, filters, LZMA_CHECK_CRC64); + ret = lzma_stream_encoder(&strm, filters, LZMA_CHECK_CRC32); break; case 2: ret = lzma_alone_encoder(&strm, &opt);