diff --git a/src/common/utils/string.hpp b/src/common/utils/string.hpp index 89f0da65..2b91102b 100644 --- a/src/common/utils/string.hpp +++ b/src/common/utils/string.hpp @@ -101,5 +101,5 @@ namespace utils::string bool find_lower(const std::string& a, const std::string& b); - std::string truncate(const std::string& text, int length, const std::string& end); + std::string truncate(const std::string& text, const size_t length, const std::string& end); }