diff options
Diffstat (limited to 'cpp/src/IceSSL/Util.cpp')
-rw-r--r-- | cpp/src/IceSSL/Util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index 90527f4c85f..628641df9dc 100644 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -292,11 +292,11 @@ repeatSelect: struct timeval tv; tv.tv_sec = timeout / 1000; tv.tv_usec = (timeout - tv.tv_sec * 1000) * 1000; - ret = ::select(fd + 1, &rFdSet, &wFdSet, 0, &tv); + ret = ::select(static_cast<int>(fd) + 1, &rFdSet, &wFdSet, 0, &tv); } else { - ret = ::select(fd + 1, &rFdSet, &wFdSet, 0, 0); + ret = ::select(static_cast<int>(fd) + 1, &rFdSet, &wFdSet, 0, 0); } if(ret == 0) |