picasso_assembler: Silence a -Wlogical-op-parenthesis warning
This commit is contained in:
parent
708ce762e0
commit
299c35d6fc
@ -787,7 +787,7 @@ static int parseReg(char* pos, int& outReg, int& outSw, int* idxType = NULL)
|
||||
return throwError("invalid boolean uniform register: %s\n", pos);
|
||||
break;
|
||||
}
|
||||
if (idxType && *idxType && outReg < 0x20 || outReg >= 0x80)
|
||||
if (idxType && *idxType && (outReg < 0x20 || outReg >= 0x80))
|
||||
return throwError("index register not allowed with this kind of register\n");
|
||||
outReg += regOffset;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user