Compute alignment in bytes, not bits.

llvm-svn: 48387
This commit is contained in:
Ted Kremenek 2008-03-15 03:13:55 +00:00
parent ae5b78615c
commit 88ba750f74
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ void GRExprEngine::VisitSizeOfAlignOfTypeExpr(SizeOfAlignOfTypeExpr* Ex,
}
else // Get alignment of the type.
amt = getContext().getTypeAlign(T);
amt = getContext().getTypeAlign(T) / 8;
Nodify(Dst, Ex, Pred,
SetRVal(GetState(Pred), Ex,