mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
Kernel: Make aarch64 UART::print_num() print u64s
This commit is contained in:
parent
bc213ad7a2
commit
2c0d329bf6
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue