diff options
author | Nick Drochak <nickd@mono-cvs.ximian.com> | 2002-10-12 05:18:41 +0400 |
---|---|---|
committer | Nick Drochak <nickd@mono-cvs.ximian.com> | 2002-10-12 05:18:41 +0400 |
commit | 216e5bdccc807b79acbeb97b86063baee4ea5c27 (patch) | |
tree | afa47792e156a9355e57f5471429ce255a11ac52 /mcs/class | |
parent | e85db67a75e64efdbe0ce83c465c9d81e5edf432 (diff) |
2002-10-12 Nick Drochak <ndrochak@gol.com>
* IntegerFormatter.cs: Fix compiler warnings.
svn path=/trunk/mcs/; revision=8194
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/corlib/System/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/corlib/System/IntegerFormatter.cs | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog index eec61863724..a972b4b17f5 100644 --- a/mcs/class/corlib/System/ChangeLog +++ b/mcs/class/corlib/System/ChangeLog @@ -1,3 +1,7 @@ +2002-10-12 Nick Drochak <ndrochak@gol.com> + + * IntegerFormatter.cs: Fix compiler warnings. + 2002-10-11 Tim Haynes <thaynes@openlinksw.com> * Type.cs (GetConstructors): Use the correct flags. diff --git a/mcs/class/corlib/System/IntegerFormatter.cs b/mcs/class/corlib/System/IntegerFormatter.cs index e1063e9bf45..fa5bdd3f80b 100644 --- a/mcs/class/corlib/System/IntegerFormatter.cs +++ b/mcs/class/corlib/System/IntegerFormatter.cs @@ -3735,11 +3735,11 @@ class FormatParse { // Remove any insignificant zeros we might have at the end // if we never saw any zeros in the format string, leftMostZeroIdx will be -1 if (leftMostZeroIdx < 0) - while (outputList[outputList.Count-1] == "0") + while ((string)outputList[outputList.Count-1] == "0") outputList.RemoveAt (outputList.Count-1); else while (leftMostZeroIdx-- > 0) - if (outputList[outputList.Count-1] == "0") + if ((string)outputList[outputList.Count-1] == "0") outputList.RemoveAt (outputList.Count-1); } |