diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2018-07-31 04:40:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-31 04:40:43 +0300 |
commit | 5a1bcfdddecaba039e458c957f79ecc60d12a5fb (patch) | |
tree | 17df84fbd12907fa3b668446eaebb5e0cd4b78d8 /src/net | |
parent | 90140927a052f55c633a976c6c404ac284d647a4 (diff) | |
parent | 6d1a96043c63f346b03df4c54d8200bc320ebe3e (diff) |
Merge pull request #78 from JellyBrick/master
Bot API 4.0
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) { |