Index: src/GenPoly/Box.cpp
===================================================================
--- src/GenPoly/Box.cpp	(revision d84f2ae33ff967a0dcd536586c44e74523d30775)
+++ src/GenPoly/Box.cpp	(revision 3e5fea2e8e80a245642d87ae8b4d88b702fb3e57)
@@ -2002,5 +2002,6 @@
 			new ast::OffsetofExpr( expr->location,
 				deepCopy( type ),
-				memberDecl
+				memberDecl,
+				getLayoutType( transUnit() )
 			)
 		) );
