mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-13 21:41:30 +02:00
Fix regression on 32 bit
This commit is contained in:
@@ -738,7 +738,8 @@ void ClassDeclaration::semantic(Scope *sc)
|
||||
}
|
||||
structsize = sc->offset;
|
||||
#if IN_LLVM
|
||||
structsize = (structsize + structalign - 1) & ~(structalign - 1);
|
||||
if (global.params.is64bit)
|
||||
structsize = (structsize + structalign - 1) & ~(structalign - 1);
|
||||
#endif
|
||||
sizeok = 1;
|
||||
Module::dprogress++;
|
||||
|
||||
Reference in New Issue
Block a user