Skip to content

Commit

Permalink
fix compiler warning. he's right.
Browse files Browse the repository at this point in the history
  • Loading branch information
lloyd committed Apr 22, 2011
1 parent dd18f61 commit 8e5d0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yajl_tree.c
Expand Up @@ -449,7 +449,7 @@ yajl_val yajl_tree_parse (const char *input,
if (status != yajl_status_ok) {
if (error_buffer != NULL && error_buffer_size > 0) {
snprintf(
error_buffer, error_buffer_size,
error_buffer, error_buffer_size, "%s",
(char *) yajl_get_error(handle, 1,
(const unsigned char *) input,
strlen(input)));
Expand Down

0 comments on commit 8e5d0b1

Please sign in to comment.