mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Allow -1 width to match with 0
I initially wanted them to be separate, but return (and other instructions where width is encoded in one of the operands) made that difficult.
This commit is contained in:
parent
5f66bfe887
commit
6487fe7ea7
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ check_operand_type (etype_t ot1, etype_t ot2)
|
|||
static int
|
||||
check_operand_width (int ow1, int ow2)
|
||||
{
|
||||
return ((ow1 == -1 && ow2) || ow1 == ow2);
|
||||
return (ow1 == -1 || ow1 == ow2);
|
||||
}
|
||||
|
||||
pr_ushort_t
|
||||
|
|
Loading…
Reference in a new issue