Skip to content

Commit

Permalink
eliminate warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
navining committed Jun 6, 2020
1 parent bb0171c commit 0b7880a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/TcpServer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class TcpServer {
_recvCount++;
double t1 = _time.getElapsedSecond();
if (_time.getElapsedSecond() >= 1.0) {
printf("<server %d> Time: %f Clients: %d Packages: %d\n", _sock, t1, _clients.size(), _recvCount);
printf("<server %d> Time: %f Clients: %d Packages: %d\n", _sock, t1, (int)_clients.size(), _recvCount);
_recvCount = 0;
_time.update();
}
Expand Down

0 comments on commit 0b7880a

Please sign in to comment.