Browse Source

Merge branch 'ticket/21'

closes #21
tickets/21/21/2
rarified 3 years ago
parent
commit
02c72148c3
  1. 4
      Sources/Plasma/PubUtilLib/plAgeDescription/plAgeDescription.cpp

4
Sources/Plasma/PubUtilLib/plAgeDescription/plAgeDescription.cpp

@ -316,7 +316,7 @@ plLocation plAgeDescription::CalcPageLocation( const char *page ) const
{
// Combine our sequence # together
Int32 combined;
hsAssert(abs(fSeqPrefix) < 0xFF, "Age sequence prefex is out of range!"); // sequence prefix can NOT be larger or equal to 1-byte max value
hsAssert(abs(fSeqPrefix) < 0x7FFF, "Age sequence prefex is out of range!"); // sequence prefix can NOT be larger or equal to 2-byte max value
UInt32 suffix = ap->GetSeqSuffix();
hsAssert(suffix <= 0xFFFF, "Page sequence number is out of range!"); // page sequence number can NOT be larger then 2-byte max value
if( fSeqPrefix < 0 ) // we are a global age
@ -562,4 +562,4 @@ bool plAgeDescription::FindLocation(const plLocation& loc) const
return true;
}
return false;
}
}

Loading…
Cancel
Save