Skip to content

Commit

Permalink
Fix: 2021-12-07
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Dec 7, 2021
1 parent 0f730bf commit ecf11e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xbinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7731,9 +7731,9 @@ bool XBinary::_isReplaced(qint64 nOffset, qint64 nSize, QList<XBinary::MEMORY_RE
{
bool bResult=false;

int nNumberOfRecords=pListMemoryReplace->count();
qint32 nNumberOfRecords=pListMemoryReplace->count();

for(int i=0;i<nNumberOfRecords;i++)
for(qint32 i=0;i<nNumberOfRecords;i++)
{
if(_isOffsetsCrossed(nOffset,nSize,pListMemoryReplace->at(i).nOffset,pListMemoryReplace->at(i).nSize))
{
Expand Down Expand Up @@ -8304,9 +8304,9 @@ int XBinary::_getSignatureRelOffset(QList<XBinary::SIGNATURE_RECORD> *pListSigna
{
int nResult=0;

int nSignatureSize=sSignature.size();
qint32 nSignatureSize=sSignature.size();

for(int i=nStartIndex;i<nSignatureSize;i++)
for(qint32 i=nStartIndex;i<nSignatureSize;i++)
{
if(sSignature.at(i)==QChar('$'))
{
Expand Down

0 comments on commit ecf11e3

Please sign in to comment.