]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store_utils.h
Ticket 37. if (year < 1990) checking added in the ts2time() function.
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store_utils.h
index e09cccd24ece285531ba2222b2cf64889aecf65b..4ffa6ecfa708b046bc1b00a8b5fd27563d15de62 100644 (file)
@@ -5,7 +5,7 @@
 
 struct ToLower : public std::unary_function<char, char>
 {
-char operator() (char c) const  { return std::tolower(c); }
+char operator() (char c) const  { return static_cast<char>(std::tolower(c)); }
 };
 
 #endif