From 0b5a99446a699980f92a803591cd9443967c620d Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 29 Dec 2017 11:32:30 +0900 Subject: [PATCH] console: remove build warning in ram console Remove build warning in ram console. Change-Id: I1b783345c081fbd9d24c727fc1ec00f9d16eb38c Signed-off-by: Seung-Woo Kim --- common/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/console.c b/common/console.c index 31146cc..aca0d77 100644 --- a/common/console.c +++ b/common/console.c @@ -207,7 +207,7 @@ void ram_puts(const char* s) uint *p = NULL; uint wlen = strlen(s); - p = (unsigned char*)CONFIG_RAM_CONSOLE_START + used_size; + p = (uint *)CONFIG_RAM_CONSOLE_START + used_size; if (used_size >= CONFIG_RAM_CONSOLE_SIZE) { serial_puts("ram console: space overflow!\n"); -- 2.34.1