mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-10 18:14:58 +01:00
* fix(VarHolder): MSVC warning #4886 * fix(VarHolder): do not convert unsigned #4886 * chore(SocketImpl): eliminate MSVC warning * fix(VarHolder): do not convert unsigned (extract unpreserveSign()) #4886 * chore(testsuite): eliminate MSVC warnings * chore(VarHolder): simplify unpreserveSign using constexpr. --------- Co-authored-by: Matej Kenda <matejken@gmail.com>
This commit is contained in:
committed by
GitHub
parent
eb94de03a6
commit
8fb80fd76e
@@ -400,7 +400,7 @@ int icompare(
|
||||
typename S::size_type pos,
|
||||
const typename S::value_type* ptr)
|
||||
{
|
||||
int n = pos < str.size() ? str.size() - pos : 0;
|
||||
int n = static_cast<int>(pos < str.size() ? str.size() - pos : 0);
|
||||
return icompare(str, pos, n, ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user