diff options
Diffstat (limited to 'Kernel/Arch/aarch64/UART.h')
-rw-r--r-- | Kernel/Arch/aarch64/UART.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Arch/aarch64/UART.h b/Kernel/Arch/aarch64/UART.h index 79cef0a166..7b77cda167 100644 --- a/Kernel/Arch/aarch64/UART.h +++ b/Kernel/Arch/aarch64/UART.h @@ -22,7 +22,7 @@ public: void send(u32 c); u32 receive(); - void print_str(const char* s) + void print_str(char const* s) { while (*s) send(*s++); @@ -42,7 +42,7 @@ public: void print_hex(u64 n) { char buf[17]; - static const char* digits = "0123456789ABCDEF"; + static char const* digits = "0123456789ABCDEF"; int i = 0; do { buf[i++] = digits[n % 16]; |