aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-04-05 22:08:24 +0000
committerdrh <drh@noemail.net>2011-04-05 22:08:24 +0000
commitfcd71b6010ef105b61f18de5a579024174356172 (patch)
treec439a5103e7597f652e9a115540e094aad612cce /src/malloc.c
parent1a86f50d85bdce2d8e766ba2f45a458b9952661b (diff)
downloadsqlite-fcd71b6010ef105b61f18de5a579024174356172.tar.gz
sqlite-fcd71b6010ef105b61f18de5a579024174356172.zip
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons
within asserts or unused parameters in extensions. FossilOrigin-Name: 3eeb0ff78d04891b5fd1a3d99a9fb8cfbed77a81
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c
index a3a9e0fe2..50fdf524c 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -404,7 +404,7 @@ void sqlite3ScratchFree(void *p){
pSlot->pNext = mem0.pScratchFree;
mem0.pScratchFree = pSlot;
mem0.nScratchFree++;
- assert( mem0.nScratchFree<=sqlite3GlobalConfig.nScratch );
+ assert( mem0.nScratchFree <= (u32)sqlite3GlobalConfig.nScratch );
sqlite3StatusAdd(SQLITE_STATUS_SCRATCH_USED, -1);
sqlite3_mutex_leave(mem0.mutex);
}else{