Don't bother getting ptrdiff_t; just use int