[companion] Minor warning fix.
This commit is contained in:
@@ -72,8 +72,8 @@ bool BinEepromFormat::writeToFile(const uint8_t * eeprom, uint32_t size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTextStream outputStream(&file);
|
QTextStream outputStream(&file);
|
||||||
long len = file.write((char *)eeprom, size);
|
qint64 len = file.write((char *)eeprom, size);
|
||||||
if (len != size) {
|
if (len != qint64(size)) {
|
||||||
setError(QObject::tr("Error writing file %1:\n%2.").arg(filename).arg(file.errorString()));
|
setError(QObject::tr("Error writing file %1:\n%2.").arg(filename).arg(file.errorString()));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user