Convert int /*long*/ to ptrdiff_t