mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
#3302: MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]]
This commit is contained in:
@@ -41,13 +41,13 @@ RedisStreamBuf::~RedisStreamBuf()
|
||||
|
||||
int RedisStreamBuf::readFromDevice(char* buffer, std::streamsize len)
|
||||
{
|
||||
return _redis.receiveBytes(buffer, len);
|
||||
return _redis.receiveBytes(buffer, static_cast<int>(len));
|
||||
}
|
||||
|
||||
|
||||
int RedisStreamBuf::writeToDevice(const char* buffer, std::streamsize length)
|
||||
{
|
||||
return _redis.sendBytes(buffer, length);
|
||||
return _redis.sendBytes(buffer, static_cast<int>(length));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user