The `int rowStride` is part of the DBus contract, this must not be changed. Instead, cast it to `int` explicitly.