We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb73a7 commit c32998cCopy full SHA for c32998c
1 file changed
src/SDL_net.c
@@ -96,7 +96,7 @@ static int WindowsPoll(struct pollfd *fds, unsigned int nfds, int timeout)
96
#define ALLOC_FDSET(typ) { \
97
if (!failed && (n##typ##fds > 0)) { \
98
const int len = sizeof (Uint32) + (n##typ##fds * sizeof (SOCKET)); \
99
- if (len < sizeof (stackbuf_##typ)) { \
+ if (len < (int) sizeof (stackbuf_##typ)) { \
100
typ##fds = (WindowsPoll_fd_set *) stackbuf_##typ; \
101
} else { \
102
typ##fds = (WindowsPoll_fd_set *) SDL_malloc(len); \
0 commit comments