From 0ecb0f815acfcf5849d5333c6e585584e93649f7 Mon Sep 17 00:00:00 2001 From: Philipp Reh Date: Fri, 20 Feb 2009 18:55:15 +0100 Subject: Added -Wconverison and fixed the warnings. --- kana2romaji.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kana2romaji.cpp') 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 { -- cgit v1.2.3