mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
System.Pointer ToString fix
This commit is contained in:
parent
5000fa9843
commit
67f8e45c55
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,8 @@ namespace System
|
||||||
|
|
||||||
public override void ToString(String strBuffer)
|
public override void ToString(String strBuffer)
|
||||||
{
|
{
|
||||||
strBuffer.AppendF("0x{0:A}", (UInt.Simple)(uint)(void*)mVal);
|
strBuffer.Append("0x");
|
||||||
|
NumberFormatter.AddrToString((uint)(void*)mVal, strBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +36,8 @@ namespace System
|
||||||
{
|
{
|
||||||
strBuffer.Append("(");
|
strBuffer.Append("(");
|
||||||
typeof(T).ToString(strBuffer);
|
typeof(T).ToString(strBuffer);
|
||||||
strBuffer.AppendF("*)0x{0:A}", (UInt.Simple)(uint)(void*)mVal);
|
strBuffer.Append("*)0x");
|
||||||
|
NumberFormatter.AddrToString((uint)(void*)mVal, strBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue