HV:misc:add suffix U to the numeric constant

Add suffix U to the numeric constant

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-07-05 09:06:03 +08:00
committed by lijinxia
parent d3ad411c91
commit 96372ed09c
14 changed files with 123 additions and 123 deletions

View File

@@ -254,9 +254,9 @@ static void uart16550_read(struct tgt_uart *tgt_uart, void *buffer,
uart16550_read_reg(tgt_uart->base_address, RBR_IDX);
/* Read 1 byte */
*bytes_read = 1;
*bytes_read = 1U;
} else {
*bytes_read = 0;
*bytes_read = 0U;
}
}