1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:57:35 +00:00

Kernel: Make aarch64 UART::print_num() print u64s

This commit is contained in:
Nico Weber 2021-10-02 15:56:26 -04:00 committed by Linus Groh
parent bc213ad7a2
commit 2c0d329bf6

View file

@ -26,9 +26,9 @@ public:
while (*s) while (*s)
send(*s++); send(*s++);
} }
void print_num(u32 n) void print_num(u64 n)
{ {
char buf[11]; char buf[21];
int i = 0; int i = 0;
do { do {
buf[i++] = (n % 10) + '0'; buf[i++] = (n % 10) + '0';