Fix 32-bit/64-bit pointer size bug.

Otherwise eventloop.d fails to compile on 64-bit.