We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c166457 commit 9b01a11Copy full SHA for 9b01a11
nosql_lib/redis/src/RedisConnection.cc
@@ -70,7 +70,7 @@ void RedisConnection::startConnectionInLoop()
70
redisContext_->ev.cleanup = cleanup;
71
redisContext_->ev.data = this;
72
73
- channel_ = std::make_unique<trantor::Channel>(loop_, redisContext_->c.fd);
+ channel_ = std::make_unique<trantor::Channel>(loop_, (int)redisContext_->c.fd);
74
channel_->setReadCallback([this]() { handleRedisRead(); });
75
channel_->setWriteCallback([this]() { handleRedisWrite(); });
76
redisAsyncSetConnectCallback(
0 commit comments