From 941c97706cb5b81d5a2e44a827e8f6bf76a2c6bd Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 27 Jul 2018 17:40:44 +0900 Subject: Bot API 4.0 - Part 2 --- src/net/HttpParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/HttpParser.cpp b/src/net/HttpParser.cpp index 41dec14..c4f8215 100644 --- a/src/net/HttpParser.cpp +++ b/src/net/HttpParser.cpp @@ -100,7 +100,7 @@ string HttpParser::generateMultipartFormData(const vector& args, con string HttpParser::generateMultipartBoundary(const vector& args) const { string result; - srand((unsigned int) time(nullptr)); + srand((uint32_t) time(nullptr)); for (const HttpReqArg& item : args) { if (item.isFile) { while (result.empty() || item.value.find(result) != string::npos) { -- cgit v1.2.3