Fixed test.
authorMarek Safar <marek.safar@gmail.com>
Mon, 12 May 2008 09:51:15 +0000 (09:51 -0000)
committerMarek Safar <marek.safar@gmail.com>
Mon, 12 May 2008 09:51:15 +0000 (09:51 -0000)
svn path=/trunk/mcs/; revision=102989

mcs/tests/test-646.cs

index 11952994187025ee2c5bf8d3eebf6c323dfde2ff..1e0aa055c0a1c1195de1486f14cd9fb1395d3d2f 100755 (executable)
@@ -22,7 +22,7 @@ class Program
                        if (CastIntPtrToUInt32 (new IntPtr (int.MaxValue)) != int.MaxValue)\r
                                return 2;\r
                } else {\r
-                       throw new ApplicationException (CastUIntPtrToInt64 (new UIntPtr (ulong.MaxValue)));\r
+                       throw new ApplicationException (CastUIntPtrToInt64 (new UIntPtr (ulong.MaxValue)).ToString ());\r
 //                     if (CastIntPtrToUInt32 (new IntPtr (long.MaxValue)) != long.MaxValue)\r
 //                             return 4;\r
                }\r