diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-08-15 21:03:13 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-08-15 21:03:13 +0200 |
commit | 16f24a61f80fef5f29c81182a3bcf3906bdee7a7 (patch) | |
tree | 9b920b0b186e87e46d52d9ae9bd6fc74af29d28a /src/3rdparty | |
parent | 571716ebf8f6f16b92e676c4e5986cae3e577686 (diff) | |
download | qt3-16f24a61f80fef5f29c81182a3bcf3906bdee7a7.tar.gz qt3-16f24a61f80fef5f29c81182a3bcf3906bdee7a7.zip |
Fix 'format not a string literal' error
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/sqlite/btree_rb.c | 2 | ||||
-rw-r--r-- | src/3rdparty/sqlite/shell.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/sqlite/btree_rb.c b/src/3rdparty/sqlite/btree_rb.c index ea4b3dd..09d8e9a 100644 --- a/src/3rdparty/sqlite/btree_rb.c +++ b/src/3rdparty/sqlite/btree_rb.c @@ -311,7 +311,7 @@ static char *append_node(char * orig, BtRbNode *pNode, int indent) static void print_node(BtRbNode *pNode) { char * str = append_node(0, pNode, 0); - printf(str); + printf("%s", str); /* Suppress a warning message about print_node() being unused */ (void)print_node; diff --git a/src/3rdparty/sqlite/shell.c b/src/3rdparty/sqlite/shell.c index 58771aa..9321066 100644 --- a/src/3rdparty/sqlite/shell.c +++ b/src/3rdparty/sqlite/shell.c @@ -688,7 +688,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){ }else if( c=='h' && strncmp(azArg[0], "help", n)==0 ){ - fprintf(stderr,zHelp); + fprintf(stderr,"%s",zHelp); }else if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg>1 ){ |