Skip to content

Commit c41f298

Browse files
authored
MjpegStreamerClient: use static cast (#293)
1 parent 6a55449 commit c41f298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/videoview/mjpegstreamerclient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void MjpegStreamerClient::updateMessageReceived(const QList<QByteArray> &message
252252
StreamBufferItem streamBufferItem;
253253

254254
frame = m_rx.frame(i);
255-
data = QByteArray(frame.blob().data(), frame.blob().size());
255+
data = QByteArray(frame.blob().data(), static_cast<int>(frame.blob().size()));
256256

257257
#ifdef QT_DEBUG
258258
qDebug() << "received frame" << topic;

0 commit comments

Comments
 (0)