mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed compiler warning.
This commit is contained in:
parent
06fec63c87
commit
c1fe39fb72
1 changed files with 2 additions and 2 deletions
|
@ -870,7 +870,7 @@ bool lcPiecesLibrary::LoadCacheIndex(const QString& FileName)
|
|||
if (!ReadCacheFile(FileName, IndexFile))
|
||||
return false;
|
||||
|
||||
qint32 NumFiles;
|
||||
quint32 NumFiles;
|
||||
|
||||
if (IndexFile.ReadBuffer((char*)&NumFiles, sizeof(NumFiles)) == 0 || NumFiles != mPieces.size())
|
||||
return false;
|
||||
|
@ -896,7 +896,7 @@ bool lcPiecesLibrary::SaveCacheIndex(const QString& FileName)
|
|||
{
|
||||
lcMemFile IndexFile;
|
||||
|
||||
qint32 NumFiles = mPieces.size();
|
||||
quint32 NumFiles = mPieces.size();
|
||||
|
||||
if (IndexFile.WriteBuffer((char*)&NumFiles, sizeof(NumFiles)) == 0)
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue