ptrdiff_t is the correct type for array pitches and similar.
Attach a file by drag & drop or click to upload