We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43de972 commit 5ded48cCopy full SHA for 5ded48c
lib/check64bit.cpp
@@ -45,7 +45,7 @@ static bool is32BitIntegerReturn(const Function* func, const Settings* settings)
45
if (settings->platform.sizeof_pointer != 8)
46
return false;
47
const ValueType* vt = func->arg->valueType();
48
- return vt && vt->isIntegral() && vt->typeSize(settings->platform) == 4;
+ return vt && vt->pointer == 0 && vt->isIntegral() && vt->typeSize(settings->platform) == 4;
49
}
50
51
void Check64BitPortability::pointerassignment()
0 commit comments