Permalink
Browse files

initialization error

  • Loading branch information...
1 parent 5054820 commit c3734aec02cf57c9eb8d3039880970ebbfea67d2 Martin Brown committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yajl_tree.c
View
2 src/yajl_tree.c
@@ -454,7 +454,7 @@ yajl_val yajl_tree_parse (const char *input,
yajl_val yajl_object_get(yajl_val n, const char * key, yajl_type type)
{
- const char ** path = {key, 0};
+ const char * path[2] = {key, 0};
yajl_val v = yajl_tree_get(n, path, type);
return v;
}

0 comments on commit c3734ae

Please sign in to comment.