CLEANUP: Remove useless malloc() casts
This is not C++.
diff --git a/src/ev_select.c b/src/ev_select.c
index 1e9c48c..ab5da35 100644
--- a/src/ev_select.c
+++ b/src/ev_select.c
@@ -226,10 +226,10 @@
int fd_set_bytes;
fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE;
- tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes);
+ tmp_evts[DIR_RD] = calloc(1, fd_set_bytes);
if (tmp_evts[DIR_RD] == NULL)
goto fail;
- tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes);
+ tmp_evts[DIR_WR] = calloc(1, fd_set_bytes);
if (tmp_evts[DIR_WR] == NULL)
goto fail;
return 1;