diff options
Diffstat (limited to 'src/malloc.c')
-rw-r--r-- | src/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/malloc.c b/src/malloc.c index ed2bbb383..317061c1f 100644 --- a/src/malloc.c +++ b/src/malloc.c @@ -12,7 +12,7 @@ ** ** Memory allocation functions used throughout sqlite. ** -** $Id: malloc.c,v 1.27 2008/07/14 12:30:54 drh Exp $ +** $Id: malloc.c,v 1.28 2008/07/14 12:38:21 drh Exp $ */ #include "sqliteInt.h" #include <stdarg.h> @@ -165,7 +165,7 @@ sqlite3_int64 sqlite3_memory_highwater(int resetFlag){ int n, mx; sqlite3_int64 res; sqlite3_status(SQLITE_STATUS_MEMORY_USED, &n, &mx, resetFlag); - res = (sqlite3_int64)n; /* Work around bug in Borland C. Ticket #3216 */ + res = (sqlite3_int64)mx; /* Work around bug in Borland C. Ticket #3216 */ return res; } |