Use fromPointer to convert pointer in printFormat()
This commit is contained in:
parent
a3901330cd
commit
fa94fb7f0b
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ Spec::print(kernel::Console& console)
|
|||
break;
|
||||
}
|
||||
} else if (type == Type::Pointer) {
|
||||
length = kstd::CString::fromUnsignedInteger(value.p, buf, 32, 16, true);
|
||||
length = kstd::CString::fromPointer(value.p, buf, 32, 16, true);
|
||||
}
|
||||
if (width < length) {
|
||||
width = length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue