forked from organicmaps/organicmaps
compileFix
This commit is contained in:
parent
5d0bde083b
commit
52d4124b3c
1 changed files with 2 additions and 2 deletions
|
@ -282,8 +282,8 @@ bool IsEqualFiles(string const & firstFile, string const & secondFile)
|
|||
size_t toRead = fileSize - currSize;
|
||||
if (toRead > bufSize)
|
||||
toRead = bufSize;
|
||||
first.Read(step * bufSize, &buf1[0], readingLength);
|
||||
second.Read(step * bufSize, &buf2[0], readingLength);
|
||||
first.Read(currSize, &buf1[0], toRead);
|
||||
second.Read(currSize, &buf2[0], toRead);
|
||||
if (buf1 != buf2)
|
||||
return false;
|
||||
currSize += toRead;
|
||||
|
|
Loading…
Add table
Reference in a new issue