diff --git a/src/osd/osddbus.cpp b/src/osd/osddbus.cpp index 1904a4636..454d58da4 100644 --- a/src/osd/osddbus.cpp +++ b/src/osd/osddbus.cpp @@ -83,7 +83,7 @@ QDBusArgument &operator<<(QDBusArgument &arg, const QImage &image) { arg.beginStructure(); arg << i.width(); arg << i.height(); - arg << i.bytesPerLine(); + arg << static_cast(i.bytesPerLine()); arg << i.hasAlphaChannel(); int channels = i.isGrayscale() ? 1 : (i.hasAlphaChannel() ? 4 : 3); arg << i.depth() / channels;