use size_t in some places
suppress warning on os-x
use size_t in EventPoll::get_num_events()