diff --git a/src/easy/easy.cpp b/src/easy/easy.cpp index 2bb631b..ef20bff 100644 --- a/src/easy/easy.cpp +++ b/src/easy/easy.cpp @@ -48,11 +48,11 @@ const string Easy::time::strtime(const string &format, const bool &local) const { timeinfo = std::gmtime(&time); } - char buffer[bufsize]; + char buffer[bufsize]; std::strftime(buffer, bufsize, format.c_str(), timeinfo); - return buffer; + return static_cast(buffer); } std::ostream &Mastodon::Easy::operator <<(std::ostream &out,