Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Mar 15, 2012
1 parent 967408f commit bc5789f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/type.c
Expand Up @@ -188,8 +188,8 @@ unsigned type_alignsize(type *t)
if (t->Tflags & TFsizeunknown)
goto err1;
sz = t->Ttag->Sstruct->Salignsize;
if (sz > t->Ttag->Sstruct->Sstructalign)
sz = t->Ttag->Sstruct->Sstructalign;
if (sz > t->Ttag->Sstruct->Sstructalign + 1)
sz = t->Ttag->Sstruct->Sstructalign + 1;
break;

case TYldouble:
Expand Down

0 comments on commit bc5789f

Please sign in to comment.