mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 09:04:49 -04:00
Pointer printing
This commit is contained in:
parent
9b3a7f11c4
commit
189d7087a3
@ -80,8 +80,8 @@ std::string vsprintf(const std::string& format, va_list va){
|
|||||||
s += std::to_string(arg);
|
s += std::to_string(arg);
|
||||||
}
|
}
|
||||||
//Hexadecimal
|
//Hexadecimal
|
||||||
else if(ch == 'h' || ch == 'x'){
|
else if(ch == 'h' || ch == 'x' || ch == 'p'){
|
||||||
if(ch == 'h'){
|
if(ch == 'h' || ch == 'p'){
|
||||||
s += "0x";
|
s += "0x";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user