mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 16:15:00 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user