Remove bogus casts of socket to int before calling ev_callback This should make 64-bit windows act better. Found by Mark Heily.