mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-27 16:59:21 +00:00
feat(app): add static_cast for Clang
This commit is contained in:
parent
20f5312496
commit
ca214de2cf
1 changed files with 2 additions and 2 deletions
|
|
@ -1352,7 +1352,7 @@ QExifValue QExifImageHeader::readIfdValue (QDataStream &stream, int startPos, co
|
|||
return QExifValue(QString::fromUtf8(header.offsetAscii, header.count - 1));
|
||||
}
|
||||
case QExifValue::Short: {
|
||||
QVector<quint16> value(header.count);
|
||||
QVector<quint16> value(static_cast<quint16>(header.count));
|
||||
|
||||
if (header.count > 2) {
|
||||
stream.device()->seek(startPos + header.offset);
|
||||
|
|
@ -1366,7 +1366,7 @@ QExifValue QExifImageHeader::readIfdValue (QDataStream &stream, int startPos, co
|
|||
return QExifValue(value);
|
||||
}
|
||||
case QExifValue::Long: {
|
||||
QVector<quint32> value(header.count);
|
||||
QVector<quint32> value(static_cast<quint32>(header.count));
|
||||
|
||||
if (header.count > 1) {
|
||||
stream.device()->seek(startPos + header.offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue