diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-28 04:54:54 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-28 04:54:54 -0400 |
commit | 38122c22241cb8fe64f0d17cd3b084418f49edaa (patch) | |
tree | 9383f2082602f2d71dde5328fa8bcf3f6609a5b7 /src/times.cc | |
parent | fb129fa7a1b293d3a04513aee3ca4a489f094754 (diff) | |
download | fork-ledger-38122c22241cb8fe64f0d17cd3b084418f49edaa.tar.gz fork-ledger-38122c22241cb8fe64f0d17cd3b084418f49edaa.tar.bz2 fork-ledger-38122c22241cb8fe64f0d17cd3b084418f49edaa.zip |
Corrected warnings g++-4.3.3 was complaining about
Diffstat (limited to 'src/times.cc')
-rw-r--r-- | src/times.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/times.cc b/src/times.cc index 1a0b714f..7ddc7bd4 100644 --- a/src/times.cc +++ b/src/times.cc @@ -240,7 +240,7 @@ namespace { inline void read_lower_word(std::istream& in, string& word) { in >> word; for (int i = 0, l = word.length(); i < l; i++) - word[i] = std::tolower(word[i]); + word[i] = static_cast<char>(std::tolower(word[i])); } void parse_date_words(std::istream& in, string& word, |