console/vtxprintf.c: Use | operator for bit operation instead of +
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I478265dcd070dcf3fb2cf2c535b6ca1d86b9a3f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67564 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
0f1fb8a868
commit
23f272994f
|
@ -67,7 +67,7 @@ static int number(void (*tx_byte)(unsigned char byte, void *data), unsigned long
|
|||
precision = i;
|
||||
}
|
||||
size -= precision;
|
||||
if (!(type & (ZEROPAD + LEFT))) {
|
||||
if (!(type & (ZEROPAD | LEFT))) {
|
||||
while (size-- > 0)
|
||||
call_tx(' '), count++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue