diff options
author | JellyBrick <shlee1503@naver.com> | 2018-07-27 17:40:44 +0900 |
---|---|---|
committer | JellyBrick <shlee1503@naver.com> | 2018-07-27 17:40:44 +0900 |
commit | 941c97706cb5b81d5a2e44a827e8f6bf76a2c6bd (patch) | |
tree | ba87716d560a674d338c5d43f319b749ff4f46c4 /src/net | |
parent | 6c2dc4d2eb84e7ba98f73332ccf95ffa5a7adf3f (diff) |
Bot API 4.0 - Part 2
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/HttpParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<HttpReqArg>& args, con string HttpParser::generateMultipartBoundary(const vector<HttpReqArg>& 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) { |