Problem: use of C-style casts

Solution: use static_cast/reinterpret_cast instead
This commit is contained in:
Simon Giesecke
2019-12-08 14:26:57 +01:00
committed by Simon Giesecke
parent a83c57d0bb
commit cd954e207d
31 changed files with 123 additions and 107 deletions

View File

@@ -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 {