no need to cast to u32 according to @wwylele comment

This commit is contained in:
zhupengfei 2018-07-30 22:36:35 +08:00
parent b4cdbf3ee8
commit 5a47cbed17
No known key found for this signature in database
GPG Key ID: 85B82A3E62174206
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ static bool IsDataAvailable() {
fd_set fd_socket; fd_set fd_socket;
FD_ZERO(&fd_socket); FD_ZERO(&fd_socket);
FD_SET(static_cast<u32>(gdbserver_socket), &fd_socket); FD_SET(gdbserver_socket, &fd_socket);
struct timeval t; struct timeval t;
t.tv_sec = 0; t.tv_sec = 0;