mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Problem: use of C-style casts
Solution: use static_cast/reinterpret_cast instead
This commit is contained in:
committed by
Simon Giesecke
parent
a83c57d0bb
commit
cd954e207d
@@ -165,7 +165,7 @@ static void internal_manage_test_sockets (void *socket_, bool add_)
|
||||
fprintf (stderr,
|
||||
"WARNING: Forced closure of %i sockets, this is an "
|
||||
"implementation error unless the test case failed\n",
|
||||
(int) test_socket_count);
|
||||
static_cast<int> (test_socket_count));
|
||||
test_socket_count = 0;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user