diff options
author | mistachkin <mistachkin@noemail.net> | 2013-08-28 01:54:12 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2013-08-28 01:54:12 +0000 |
commit | f64188910dbc4a7152827b3dd532b3360fcb4512 (patch) | |
tree | edb61cc6e326249124f78cd42b3e305cb45c7acd /src/test_malloc.c | |
parent | 4496a2329a0fd2f922e6f80fa7081294bd14a811 (diff) | |
download | sqlite-f64188910dbc4a7152827b3dd532b3360fcb4512.tar.gz sqlite-f64188910dbc4a7152827b3dd532b3360fcb4512.zip |
Fix several harmless compiler warnings. Fix a couple compiler issues with the shell.
FossilOrigin-Name: 8917e9f9a0802cbfb6f33e2ab1c2f98e4df5babd
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index 2e31f0833..f513e24bf 100644 --- a/src/test_malloc.c +++ b/src/test_malloc.c @@ -749,7 +749,7 @@ static void test_memdebug_callback(int nByte, int nFrame, void **aFrame){ int isNew; int aKey[MALLOC_LOG_KEYINTS]; - int nKey = sizeof(int)*MALLOC_LOG_KEYINTS; + unsigned int nKey = sizeof(int)*MALLOC_LOG_KEYINTS; memset(aKey, 0, nKey); if( (sizeof(void*)*nFrame)<nKey ){ |