aboutsummaryrefslogtreecommitdiff
path: root/src/table.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-12-09 03:55:14 +0000
committerdrh <drh@noemail.net>2008-12-09 03:55:14 +0000
commitaa78bec9937e320faa948f9181ed53c97c6d249c (patch)
treed4c67acb3b1b377a01bf4e581214d2f606dcddd0 /src/table.c
parent8df32841de87b078b4e83aa214a5f7a6572c9ded (diff)
downloadsqlite-aa78bec9937e320faa948f9181ed53c97c6d249c.tar.gz
sqlite-aa78bec9937e320faa948f9181ed53c97c6d249c.zip
Get rid of more silly compiler warnings. (CVS 5996)
FossilOrigin-Name: 59ae0020683766993c38e2b76a436d78d3e4bd63
Diffstat (limited to 'src/table.c')
-rw-r--r--src/table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table.c b/src/table.c
index 1bd1bd19e..232e898d6 100644
--- a/src/table.c
+++ b/src/table.c
@@ -16,7 +16,7 @@
** These routines are in a separate files so that they will not be linked
** if they are not used.
**
-** $Id: table.c,v 1.36 2008/07/08 22:28:49 shane Exp $
+** $Id: table.c,v 1.37 2008/12/09 03:55:14 drh Exp $
*/
#include "sqliteInt.h"
#include <stdlib.h>
@@ -92,7 +92,7 @@ static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
if( argv[i]==0 ){
z = 0;
}else{
- int n = strlen(argv[i])+1;
+ int n = (int)strlen(argv[i])+1;
z = sqlite3_malloc( n );
if( z==0 ) goto malloc_failed;
memcpy(z, argv[i], n);