From 252c21c03be6faf42a9abcf173787892f0fa6ae1 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 24 Feb 2011 13:20:03 +0100 Subject: [PATCH] trivial fix for inactive debug code --- dmd/struct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmd/struct.c b/dmd/struct.c index 7d6d3936..7af158d0 100644 --- a/dmd/struct.c +++ b/dmd/struct.c @@ -151,7 +151,7 @@ void AggregateDeclaration::alignmember( unsigned size, // alignment requirement of field unsigned *poffset) { - //printf("salign = %d, size = %d, offset = %d\n",salign,size,offset); + //printf("salign = %d, size = %d, offset = %d\n",salign,size, *poffset); if (salign > 1) { assert(size != 3); @@ -160,7 +160,7 @@ void AggregateDeclaration::alignmember( sa = salign; *poffset = (*poffset + sa - 1) & ~(sa - 1); } - //printf("result = %d\n",offset); + //printf("result = %d\n", *poffset); }