aeApiState *state = zmalloc(sizeof(aeApiState));
if (!state) return -1;
- state->events = zmalloc(sizeof(epoll_event)*eventLoop->setsize);
+ state->events = zmalloc(sizeof(struct epoll_event)*eventLoop->setsize);
if (!state->events) {
zfree(state);
return -1;