diff options
Diffstat (limited to 'src/mscorlib/src/System/Globalization/TextInfo.Windows.cs')
-rw-r--r-- | src/mscorlib/src/System/Globalization/TextInfo.Windows.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mscorlib/src/System/Globalization/TextInfo.Windows.cs b/src/mscorlib/src/System/Globalization/TextInfo.Windows.cs index cc7c4df1da..58dfe32239 100644 --- a/src/mscorlib/src/System/Globalization/TextInfo.Windows.cs +++ b/src/mscorlib/src/System/Globalization/TextInfo.Windows.cs @@ -18,9 +18,9 @@ namespace System.Globalization const uint LCMAP_SORTHANDLE = 0x20000000; - long handle; + IntPtr handle; int ret = Interop.Kernel32.LCMapStringEx(_textInfoName, LCMAP_SORTHANDLE, null, 0, &handle, IntPtr.Size, null, null, IntPtr.Zero); - _sortHandle = ret > 0 ? (IntPtr)handle : IntPtr.Zero; + _sortHandle = ret > 0 ? handle : IntPtr.Zero; } private unsafe string ChangeCase(string s, bool toUpper) |