1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Fix a couple of harmless nuisance warnings. (CVS 6438)

FossilOrigin-Name: 53dac0a455b9a822f710c257711e8d319060cf84
This commit is contained in:
drh
2009-04-02 17:22:41 +00:00
parent e8902a70fe
commit de46798569
4 changed files with 12 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.534 2009/03/23 04:33:32 danielk1977 Exp $
** $Id: main.c,v 1.535 2009/04/02 17:22:42 drh Exp $
*/
#include "sqliteInt.h"
@@ -418,7 +418,7 @@ static int setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt){
if( pStart ){
int i;
LookasideSlot *p;
assert( sz > sizeof(LookasideSlot*) );
assert( sz > (int)sizeof(LookasideSlot*) );
p = (LookasideSlot*)pStart;
for(i=cnt-1; i>=0; i--){
p->pNext = db->lookaside.pFree;