mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 20:33:14 +01:00
Same fix for align size of void type on D2.
This commit is contained in:
@@ -1232,6 +1232,8 @@ d_uns64 TypeBasic::size(Loc loc)
|
||||
|
||||
unsigned TypeBasic::alignsize()
|
||||
{
|
||||
if (ty == Tvoid)
|
||||
return 1;
|
||||
return getABITypeAlign(DtoType(this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user