ptrdiff_t is the correct type for array strides and similar.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>