Fix compilation on FreeBSD

This commit is contained in:
Tobias Fella
2023-09-13 13:27:24 +02:00
parent 234e5c49c4
commit d69b8fbf8c

View File

@@ -16,7 +16,7 @@ RemoteImage Runner::serializeImage(const QImage &image)
RemoteImage remoteImage{
convertedImage.width(),
convertedImage.height(),
convertedImage.bytesPerLine(),
static_cast<int>(convertedImage.bytesPerLine()),
true, // hasAlpha
8, // bitsPerSample
4, // channels