diff options
author | Philipp Reh <sefi@s-e-f-i.de> | 2009-02-20 18:55:15 +0100 |
---|---|---|
committer | Philipp Reh <sefi@s-e-f-i.de> | 2009-02-20 18:55:15 +0100 |
commit | 0ecb0f815acfcf5849d5333c6e585584e93649f7 (patch) | |
tree | e3beccd331c31cf00749926f73ff133fbade34c9 /kana2romaji.cpp | |
parent | bcd2d0a55d0f4af08360a650f2f2963543465987 (diff) |
Added -Wconverison and fixed the warnings.
Diffstat (limited to 'kana2romaji.cpp')
-rw-r--r-- | kana2romaji.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kana2romaji.cpp b/kana2romaji.cpp index 43a2d40..99591eb 100644 --- a/kana2romaji.cpp +++ b/kana2romaji.cpp @@ -27,7 +27,7 @@ using namespace std; namespace { void utfchar(const string& from, string::size_type pos, string& to) { - string::value_type first = from[pos]; + unsigned first = from[pos]; if ((first & 0x80) == 0) to = from[pos]; else { |