From d69b8fbf8c6a361d05099b8e288b667f0210811d Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 13 Sep 2023 13:27:24 +0200 Subject: [PATCH] Fix compilation on FreeBSD --- src/runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner.cpp b/src/runner.cpp index 681f369d1..f730303b0 100644 --- a/src/runner.cpp +++ b/src/runner.cpp @@ -16,7 +16,7 @@ RemoteImage Runner::serializeImage(const QImage &image) RemoteImage remoteImage{ convertedImage.width(), convertedImage.height(), - convertedImage.bytesPerLine(), + static_cast(convertedImage.bytesPerLine()), true, // hasAlpha 8, // bitsPerSample 4, // channels