Просмотр исходного кода

* Char.cs: Only use a byte for numeric data.

svn path=/trunk/mcs/; revision=23861
Jackson Harper 22 лет назад
Родитель
Сommit
f4c404c7ca
2 измененных файлов с 6 добавлено и 2 удалено
  1. 4 0
      mcs/class/corlib/System/ChangeLog
  2. 2 2
      mcs/class/corlib/System/Char.cs

+ 4 - 0
mcs/class/corlib/System/ChangeLog

@@ -1,3 +1,7 @@
+2004-03-09  Jackson Harper  <[email protected]>
+
+	* Char.cs: Only use a byte for numeric data.
+	
 2004-03-09  Andreas Nahr <[email protected]>
 
 	* TypedReference.cs: Added missing Attributes

+ 2 - 2
mcs/class/corlib/System/Char.cs

@@ -41,7 +41,7 @@ namespace System
 		}
 
 		private readonly unsafe static byte *category_data;
-		private readonly unsafe static ushort *numeric_data;
+		private readonly unsafe static byte *numeric_data;
 		private readonly unsafe static double *numeric_data_values;
 		private readonly unsafe static ushort *to_lower_data_low;
 		private readonly unsafe static ushort *to_lower_data_high;
@@ -50,7 +50,7 @@ namespace System
 
 		[MethodImplAttribute(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]
 		private unsafe static extern void GetDataTablePointers (out byte *category_data,
-				out ushort *numeric_data, out double *numeric_data_values,
+				out byte *numeric_data, out double *numeric_data_values,
 				out ushort *to_lower_data_low, out ushort *to_lower_data_high,
 				out ushort *to_upper_data_low, out ushort *to_upper_data_high);