mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-17 08:37:17 -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);
|
||||
}
|
||||
//Hexadecimal
|
||||
else if(ch == 'h' || ch == 'x'){
|
||||
if(ch == 'h'){
|
||||
else if(ch == 'h' || ch == 'x' || ch == 'p'){
|
||||
if(ch == 'h' || ch == 'p'){
|
||||
s += "0x";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user