summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-28 04:54:54 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-28 04:54:54 -0400
commit38122c22241cb8fe64f0d17cd3b084418f49edaa (patch)
tree9383f2082602f2d71dde5328fa8bcf3f6609a5b7 /src/option.cc
parentfb129fa7a1b293d3a04513aee3ca4a489f094754 (diff)
downloadfork-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/option.cc')
-rw-r--r--src/option.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.cc b/src/option.cc
index 5966c582..a0701533 100644
--- a/src/option.cc
+++ b/src/option.cc
@@ -120,7 +120,7 @@ void process_environment(const char ** envp, const string& tag,
if (*q == '_')
*r++ = '-';
else
- *r++ = std::tolower(*q);
+ *r++ = static_cast<char>(std::tolower(*q));
*r = '\0';
if (*q == '=') {