projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
console: remove build warning in ram console
[profile/mobile/platform/kernel/u-boot-tm1.git]
/
common
/
console.c
diff --git
a/common/console.c
b/common/console.c
index
31146cc
..
aca0d77
100644
(file)
--- 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 = (u
nsigned char
*)CONFIG_RAM_CONSOLE_START + used_size;
+ p = (u
int
*)CONFIG_RAM_CONSOLE_START + used_size;
if (used_size >= CONFIG_RAM_CONSOLE_SIZE) {
serial_puts("ram console: space overflow!\n");