projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[profiles] Fix MOBILE assemblies and tests compilation + Rename MOBILE to AOT_HYBRID
[mono.git]
/
mcs
/
class
/
corlib
/
System
/
UIntPtr.cs
diff --git
a/mcs/class/corlib/System/UIntPtr.cs
b/mcs/class/corlib/System/UIntPtr.cs
index 1070563aca0017d6df71cfa04b7b79f8905785c8..3d0fd967aa9983a6d0c58c00f8287b049e60da9e 100644
(file)
--- a/
mcs/class/corlib/System/UIntPtr.cs
+++ b/
mcs/class/corlib/System/UIntPtr.cs
@@
-104,7
+104,7
@@
namespace System
public override string ToString ()
{
public override string ToString ()
{
- return
((uint
) _pointer).ToString();
+ return
UIntPtr.Size < 8 ? ((uint) _pointer).ToString() : ((ulong
) _pointer).ToString();
}
// Interface ISerializable
}
// Interface ISerializable