mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix unit tests (#11199)
* Fix tests build issue on Windows * Fix `Http digest authentication` 404 error * Fix `libnest2d_tests` missing dlls on Windows
This commit is contained in:
@@ -314,7 +314,7 @@ BOOL CBaseException::GetLogicalAddress(
|
||||
for (unsigned i = 0; i < pNtHdr->FileHeader.NumberOfSections; i++, pSection++ )
|
||||
{
|
||||
DWORD sectionStart = pSection->VirtualAddress;
|
||||
DWORD sectionEnd = sectionStart + max(pSection->SizeOfRawData, pSection->Misc.VirtualSize);
|
||||
DWORD sectionEnd = sectionStart + std::max(pSection->SizeOfRawData, pSection->Misc.VirtualSize);
|
||||
|
||||
if ( (rva >= sectionStart) && (rva <= sectionEnd) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user