mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +01:00
Warning fixes.
This commit is contained in:
parent
e98e375984
commit
7ded3a4899
1 changed files with 2 additions and 2 deletions
|
@ -1405,7 +1405,7 @@ bool lcBlenderPreferences::GetBlenderAddon(const QString& BlenderDir)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ba = QByteArray::fromRawData((const char*)File.mBuffer, File.GetLength());
|
Ba = QByteArray::fromRawData((const char*)File.mBuffer, (int)File.GetLength());
|
||||||
if (Ba.isEmpty())
|
if (Ba.isEmpty())
|
||||||
{
|
{
|
||||||
ShowMessage(tr("Cannot read addon archive version file: %1.").arg(VersionFile));
|
ShowMessage(tr("Cannot read addon archive version file: %1.").arg(VersionFile));
|
||||||
|
@ -3687,7 +3687,7 @@ bool lcBlenderPreferences::ExtractAddon(const QString FileName, QString& Result)
|
||||||
|
|
||||||
ZipFile.ExtractFile(FileIdx, MemFile);
|
ZipFile.ExtractFile(FileIdx, MemFile);
|
||||||
|
|
||||||
QByteArray const& ByteArray = QByteArray::fromRawData((const char*)MemFile.mBuffer, MemFile.GetLength());
|
QByteArray const& ByteArray = QByteArray::fromRawData((const char*)MemFile.mBuffer, (int)MemFile.GetLength());
|
||||||
|
|
||||||
// symlinks
|
// symlinks
|
||||||
if (FileInfo.isSymLink)
|
if (FileInfo.isSymLink)
|
||||||
|
|
Loading…
Add table
Reference in a new issue