diff options
Diffstat (limited to 'Source/cmConnection.cxx')
-rw-r--r-- | Source/cmConnection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmConnection.cxx b/Source/cmConnection.cxx index 4d4daf3..f3fc1ef 100644 --- a/Source/cmConnection.cxx +++ b/Source/cmConnection.cxx @@ -31,7 +31,7 @@ void cmEventBasedConnection::on_read(uv_stream_t* stream, ssize_t nread, if (nread >= 0) { conn->ReadData(std::string(buf->base, buf->base + nread)); } else { - conn->OnDisconnect((int)nread); + conn->OnDisconnect(static_cast<int>(nread)); } } |