This silences warnings about comparison of integers between unsigned long long (which is what the Windows SOCKET type is) and signed int when building in MinGW mode.
Details
Details
Diff Detail
Diff Detail
Differential D67863
[LLDB] Cast -1 (as invalid socket) to the socket type before comparing mstorsjo on Sep 20 2019, 1:50 PM. Authored by
Details This silences warnings about comparison of integers between unsigned long long (which is what the Windows SOCKET type is) and signed int when building in MinGW mode.
Diff Detail |
Could you use C++ style casts please?