diff options
Diffstat (limited to 'rlz/lib/string_utils.cc')
-rw-r--r-- | rlz/lib/string_utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rlz/lib/string_utils.cc b/rlz/lib/string_utils.cc index 50206a8..87988022 100644 --- a/rlz/lib/string_utils.cc +++ b/rlz/lib/string_utils.cc @@ -10,8 +10,8 @@ namespace rlz_lib { -bool IsAscii(char letter) { - return (letter >= 0x0 && letter < 0x80); +bool IsAscii(unsigned char letter) { + return letter < 0x80; } bool GetHexValue(char letter, int* value) { |