Skip to content

Commit ffb88ad

Browse files
committed
Removed another (benign?) instance of storing an i1 as i8
1 parent fb4eb62 commit ffb88ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ir/irtypeaggr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void AggrTypeBuilder::addAggregate(AggregateDeclaration *ad)
179179
}
180180

181181
// add default type
182-
m_defaultTypes.push_back(DtoType(vd->type));
182+
m_defaultTypes.push_back(i1ToI8(DtoType(vd->type)));
183183

184184
// advance offset to right past this field
185185
m_offset += getMemberSize(vd->type);

0 commit comments

Comments
 (0)