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{ RemoteImage remoteImage{
convertedImage.width(), convertedImage.width(),
convertedImage.height(), convertedImage.height(),
convertedImage.bytesPerLine(), static_cast<int>(convertedImage.bytesPerLine()),
true, // hasAlpha true, // hasAlpha
8, // bitsPerSample 8, // bitsPerSample
4, // channels 4, // channels