all repos — mgba @ 2ec2e75634f04f7d54173db3fcdbd23d5ac7475f

mGBA Game Boy Advance Emulator

Util: Fix warnings on Windows
Jeffrey Pfau jeffrey@endrift.com
Sat, 14 Feb 2015 23:40:59 -0800
commit

2ec2e75634f04f7d54173db3fcdbd23d5ac7475f

parent

8c7d5b5b86652b92e30b7acf08ae103e950784ca

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/util/socket.hsrc/util/socket.h

@@ -187,7 +187,7 @@ FD_ZERO(&rset);

FD_ZERO(&wset); FD_ZERO(&eset); int i; - int maxFd = 0; + Socket maxFd = 0; if (reads) { for (i = 0; i < nSockets; ++i) { if (SOCKET_FAILED(reads[i])) {