Kernel: Make aarch64 UART::print_num() print u64s
This commit is contained in:
parent
bc213ad7a2
commit
2c0d329bf6
Notes:
sideshowbarker
2024-07-18 03:11:27 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/2c0d329bf60 Pull-request: https://github.com/SerenityOS/serenity/pull/10319 Reviewed-by: https://github.com/linusg ✅
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ public:
|
|||
while (*s)
|
||||
send(*s++);
|
||||
}
|
||||
void print_num(u32 n)
|
||||
void print_num(u64 n)
|
||||
{
|
||||
char buf[11];
|
||||
char buf[21];
|
||||
int i = 0;
|
||||
do {
|
||||
buf[i++] = (n % 10) + '0';
|
||||
|
|
Loading…
Add table
Reference in a new issue