Skip to content

Commit c1bb384

Browse files
committed
Fix
1 parent 2790d08 commit c1bb384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/symboldatabase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8504,7 +8504,7 @@ static size_t getAlignOf(const ValueType& vt, const Settings& settings, ValueTyp
85048504
}
85058505
if (vt.type == ValueType::Type::RECORD && vt.typeScope) {
85068506
auto accHelper = [&](size_t max, const ValueType& vt2, size_t /*dim*/, MathLib::bigint /*bits*/) {
8507-
size_t a = getAlignOf(vt2, settings, accuracy, sizeOf, ++maxRecursion);
8507+
size_t a = getAlignOf(vt2, settings, accuracy, ValueType::SizeOf::Pointer, ++maxRecursion);
85088508
return std::max(max, a);
85098509
};
85108510
Result result = accumulateStructMembers(vt.typeScope, accHelper, accuracy);

0 commit comments

Comments
 (0)