Replace ptrdiff_t with int (didn't) compile