summaryrefslogtreecommitdiff
path: root/src/net/BoostHttpOnlySslClient.cpp
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2023-05-11 00:22:01 +0400
committerGitHub <noreply@github.com>2023-05-11 00:22:01 +0400
commite503416d66b83810a5ae253d4e82c1bc652b38de (patch)
tree095530f03bccfdbaff9526548586504316760887 /src/net/BoostHttpOnlySslClient.cpp
parent49f525ed18ce4a2e0100824452fb35c100ed270a (diff)
parenta24ab2cd92bbeddb9c1780cdaae6d60745144f8c (diff)
Merge pull request #271 from r4d1sh/msvc
Fix a few warnings reported by MSVC compiler
Diffstat (limited to 'src/net/BoostHttpOnlySslClient.cpp')
-rw-r--r--src/net/BoostHttpOnlySslClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/BoostHttpOnlySslClient.cpp b/src/net/BoostHttpOnlySslClient.cpp
index 82bd897..30279e6 100644
--- a/src/net/BoostHttpOnlySslClient.cpp
+++ b/src/net/BoostHttpOnlySslClient.cpp
@@ -59,7 +59,7 @@ string BoostHttpOnlySslClient::makeRequest(const Url& url, const vector<HttpReqA
// We'll need to get the underlying native socket for this select call, in order
// to add a simple timeout on the read:
- int nativeSocket = socket.lowest_layer().native_handle();
+ int nativeSocket = static_cast<int>(socket.lowest_layer().native_handle());
FD_SET(nativeSocket,&fileDescriptorSet);
select(nativeSocket+1,&fileDescriptorSet,NULL,NULL,&timeStruct);