aboutsummaryrefslogtreecommitdiff
path: root/src/memjournal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memjournal.c')
-rw-r--r--src/memjournal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memjournal.c b/src/memjournal.c
index 930c78571..0261fefa2 100644
--- a/src/memjournal.c
+++ b/src/memjournal.c
@@ -14,7 +14,7 @@
** The in-memory rollback journal is used to journal transactions for
** ":memory:" databases and when the journal_mode=MEMORY pragma is used.
**
-** @(#) $Id: memjournal.c,v 1.9 2009/04/01 23:09:44 drh Exp $
+** @(#) $Id: memjournal.c,v 1.10 2009/04/02 17:22:42 drh Exp $
*/
#include "sqliteInt.h"
@@ -31,7 +31,7 @@ typedef struct FileChunk FileChunk;
** a power-of-two allocation. This mimimizes wasted space in power-of-two
** memory allocators.
*/
-#define JOURNAL_CHUNKSIZE (1024-sizeof(FileChunk*))
+#define JOURNAL_CHUNKSIZE ((int)(1024-sizeof(FileChunk*)))
/* Macro to find the minimum of two numeric values.
*/