return Buffer;
}
-static inline std::string LowercaseString (const std::string &S) {
+static inline std::string LowercaseString(const std::string &S) {
std::string result (S);
for (unsigned i = 0; i < S.length(); ++i)
if (isupper (result[i]))
- result[i] = tolower(result[i]);
+ result[i] = (char)tolower(result[i]);
return result;
}
return Buffer;
}
-static inline std::string LowercaseString (const std::string &S) {
+static inline std::string LowercaseString(const std::string &S) {
std::string result (S);
for (unsigned i = 0; i < S.length(); ++i)
if (isupper (result[i]))
- result[i] = tolower(result[i]);
+ result[i] = (char)tolower(result[i]);
return result;
}