Update WIP discord and some vendors.

CPR has features disabled and PCRE is fully disabled until updated to new code.
This commit is contained in:
Sandu Liviu Catalin committed 2023-08-05 21:31:33 +03:00
1 parent e0761bf3b9
commit 9298065cef
1562 files changed
+55070 -76299

No files matched your search

+2 -2
View File
@@ -165,7 +165,7 @@ template <uint64_t> uint64_t from_string(const std::string &s)
*/
template <uint32_t> uint32_t from_string(const std::string &s)
{
return std::stoul(s, 0, 10);
return (uint32_t) std::stoul(s, 0, 10);
}
/**
@@ -205,7 +205,7 @@ template <typename T> std::string to_hex(T i)
template <typename T> std::string leading_zeroes(T i, size_t width)
{
std::stringstream stream;
stream << std::setfill('0') << std::setw(width) << std::dec << i;
stream << std::setfill('0') << std::setw((int)width) << std::dec << i;
return stream.str();
}