changed epel parameters from int to ptrdiff_t to avoid errors in x64 asm