CBL-Mariner/SPECS-EXTENDED/dyninst/gcc-11-fix.patch

12 строки
393 B
Diff

--- dyninst-10.1.0/testsuite-10.1.0/src/dyninst/test1_3.C
+++ dyninst-10.1.0/testsuite-10.1.0/src/dyninst/test1_3.C
@@ -134,7 +134,7 @@ test_results_t test1_3_Mutator::executeTest()
}
// see if we can find the address
- if (expr3_1->getBaseAddr() <= 0)
+ if (!expr3_1->getBaseAddr())
{
logerror("*Error*: address %p for %s is not valid\n",
expr3_1->getBaseAddr(), globalVar);