Fix compilation error

This commit is contained in:
Alexis Engelke
2019-11-02 22:18:27 +01:00
parent c5281e2f58
commit 21c40c48d0

View File

@@ -133,7 +133,7 @@ decode_prefixes(const uint8_t* buffer, int len, DecodeMode mode,
goto out; goto out;
// VEX + 66/F2/F3/LOCK will #UD. // 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; return -1;
// VEX + REX will #UD. // VEX + REX will #UD.
if (rex_prefix) if (rex_prefix)