summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2018-07-31 04:40:43 +0300
committerGitHub <noreply@github.com>2018-07-31 04:40:43 +0300
commit5a1bcfdddecaba039e458c957f79ecc60d12a5fb (patch)
tree17df84fbd12907fa3b668446eaebb5e0cd4b78d8 /src/net
parent90140927a052f55c633a976c6c404ac284d647a4 (diff)
parent6d1a96043c63f346b03df4c54d8200bc320ebe3e (diff)
Merge pull request #78 from JellyBrick/master
Bot API 4.0
Diffstat (limited to 'src/net')
-rw-r--r--src/net/HttpParser.cpp2
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) {