Skip to content

Commit

Permalink
Fixes commit a63d000
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-safar committed Feb 14, 2014
1 parent a63d000 commit 4447979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/class/corlib/System/Int32.cs
Expand Up @@ -342,7 +342,7 @@ internal static bool FindExponent (ref int pos, string s, ref int exponent, bool

internal static bool ValidDigit (char e, bool allowHex)
{
return (e >= '0' && e <= '9') || (allowHex && (e >= 'A' && e <= 'F') || (e >= 'a' && e <= 'f'));
return (e >= '0' && e <= '9') || (allowHex && ((e >= 'A' && e <= 'F') || (e >= 'a' && e <= 'f')));
}

internal static Exception GetFormatException ()
Expand Down

0 comments on commit 4447979

Please sign in to comment.