diff options
author | drh <drh@noemail.net> | 2005-10-29 15:48:30 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-10-29 15:48:30 +0000 |
commit | b12761293300b49d676017f5576fdd6866f9eb8e (patch) | |
tree | e8db131974fcb159eb4682461e5354c59d07c1dc /src | |
parent | eef8b55832eb53453bc81f7054e64aec004362df (diff) | |
download | sqlite-b12761293300b49d676017f5576fdd6866f9eb8e.tar.gz sqlite-b12761293300b49d676017f5576fdd6866f9eb8e.zip |
Fix the shift operators so that they work with 64-bit quantities. (CVS 2752)
FossilOrigin-Name: 0d3357b5f65887f7db03db2ae021f28f480f90e4
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index 2bb56e4af..09cac0466 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -43,7 +43,7 @@ ** in this file for details. If in doubt, do not deviate from existing ** commenting and indentation practices when changing or adding code. ** -** $Id: vdbe.c,v 1.493 2005/10/20 07:28:19 drh Exp $ +** $Id: vdbe.c,v 1.494 2005/10/29 15:48:31 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -1214,7 +1214,7 @@ case OP_BitOr: /* same as TK_BITOR, no-push */ case OP_ShiftLeft: /* same as TK_LSHIFT, no-push */ case OP_ShiftRight: { /* same as TK_RSHIFT, no-push */ Mem *pNos = &pTos[-1]; - int a, b; + i64 a, b; assert( pNos>=p->aStack ); if( (pTos->flags | pNos->flags) & MEM_Null ){ |