From 1b0b1807618034e5d3189a87fd2584004fdb28d8 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 25 Oct 2020 05:10:19 -0700 Subject: [PATCH] Fix COMPRESSED macro Fix #3383 --- native/jni/magiskboot/format.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/magiskboot/format.hpp b/native/jni/magiskboot/format.hpp index 05d5f39e8..7b6589878 100644 --- a/native/jni/magiskboot/format.hpp +++ b/native/jni/magiskboot/format.hpp @@ -25,7 +25,7 @@ typedef enum { DTB, } format_t; -#define COMPRESSED(fmt) ((fmt) >= GZIP && (fmt) <= LZ4_LEGACY) +#define COMPRESSED(fmt) ((fmt) >= GZIP && (fmt) < LZOP) #define COMPRESSED_ANY(fmt) ((fmt) >= GZIP && (fmt) <= LZOP) #define BOOT_MAGIC "ANDROID!"