console: remove build warning in ram console
[profile/mobile/platform/kernel/u-boot-tm1.git] / common / console.c
index 31146cc..aca0d77 100644 (file)
@@ -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");