From 21c40c48d08fd21a70b1030b894a74f642ad048b Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Sat, 2 Nov 2019 22:18:27 +0100 Subject: [PATCH] Fix compilation error --- decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode.c b/decode.c index 8c9a92b..3cebe87 100644 --- a/decode.c +++ b/decode.c @@ -133,7 +133,7 @@ decode_prefixes(const uint8_t* buffer, int len, DecodeMode mode, goto out; // VEX + 66/F2/F3/LOCK will #UD. - if (prefixes & (PREFIX_REP|PREFIX_REPNZ|PREFIX_OPSZ|PREFIX_LOCK) + if (prefixes & (PREFIX_REP|PREFIX_REPNZ|PREFIX_OPSZ|PREFIX_LOCK)) return -1; // VEX + REX will #UD. if (rex_prefix)