diff options
author | danielk1977 <danielk1977@noemail.net> | 2009-03-23 04:33:32 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2009-03-23 04:33:32 +0000 |
commit | bc73971db6162bf60d775775b180cea06615b29c (patch) | |
tree | 3e9bd43e05e6924e8b5147ffc625338472c40d9f /src/expr.c | |
parent | ca18d20fd69801f8dcf4693fcfb5fb22d65e9746 (diff) | |
download | sqlite-bc73971db6162bf60d775775b180cea06615b29c.tar.gz sqlite-bc73971db6162bf60d775775b180cea06615b29c.zip |
Use the ROUND8() macro to round an integer up to the nearest multiple of 8 and ROUNDDOWN8() macro to round down to the nearest multiple of 8. This is a cosmetic change. (CVS 6372)
FossilOrigin-Name: db1d4d2f5083adf5438c7f387b115180800e7bd9
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c index a7a954c09..edea9224d 100644 --- a/src/expr.c +++ b/src/expr.c @@ -12,7 +12,7 @@ ** This file contains routines used for analyzing expressions and ** for generating VDBE code that evaluates expressions in SQLite. ** -** $Id: expr.c,v 1.420 2009/03/18 10:36:13 drh Exp $ +** $Id: expr.c,v 1.421 2009/03/23 04:33:32 danielk1977 Exp $ */ #include "sqliteInt.h" @@ -714,7 +714,7 @@ static int dupedExprNodeSize(Expr *p, int flags){ ){ nByte += p->span.n; } - return (nByte+7)&~7; + return ROUND8(nByte); } /* |