diff options
Diffstat (limited to 'src/vdbeInt.h')
-rw-r--r-- | src/vdbeInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdbeInt.h b/src/vdbeInt.h index 600d9b8bc..13262cd4e 100644 --- a/src/vdbeInt.h +++ b/src/vdbeInt.h @@ -143,7 +143,8 @@ struct VdbeCursor { ** or less. The value of SZ_VDBECURSOR(n) is guaranteed to be a multiple ** of 8. */ -#define SZ_VDBECURSOR(N) (offsetof(VdbeCursor,aType) + ((N)+1)*sizeof(u64)) +#define SZ_VDBECURSOR(N) \ + (ROUND8(offsetof(VdbeCursor,aType)) + ((N)+1)*sizeof(u64)) /* Return true if P is a null-only cursor */ |