diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-09-12 09:22:13 -0600 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-09-12 09:22:13 -0600 |
commit | a248f5abd0749e53e45a8a8f92003cd17f1c6732 (patch) | |
tree | 982e0c27d497c690173eb9cbde1b5801693830dc /verify | |
parent | 3d77db19acfe6060749c01098e7faa62ccb8b64f (diff) | |
download | yajl-a248f5abd0749e53e45a8a8f92003cd17f1c6732.tar.gz |
always use a format string with fprintf, silence compiler warnings. shhh.1.0.6
Diffstat (limited to 'verify')
-rw-r--r-- | verify/json_verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/verify/json_verify.c b/verify/json_verify.c index 5817329..befff9e 100644 --- a/verify/json_verify.c +++ b/verify/json_verify.c @@ -117,7 +117,7 @@ main(int argc, char ** argv) { if (!quiet) { unsigned char * str = yajl_get_error(hand, 1, fileData, rd); - fprintf(stderr, (const char *) str); + fprintf(stderr, "%s", (const char *) str); yajl_free_error(hand, str); } retval = 1; |