Skip to content

Commit 1de4deb

Browse files
committed
Fix wrong signature in array visitor declaration
1 parent fb5a9d6 commit 1de4deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phongo_bson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
/* Forward declarations */
3939
static bool php_phongo_bson_visit_document(const bson_iter_t* iter ARG_UNUSED, const char* key, const bson_t* v_document, void* data);
40-
static bool php_phongo_bson_visit_array(const bson_iter_t* iter ARG_UNUSED, const char* key, const bson_t* v_document, void* data);
40+
static bool php_phongo_bson_visit_array(const bson_iter_t* iter ARG_UNUSED, const char* key, const bson_t* v_array, void* data);
4141

4242
/* Path builder */
4343
char* php_phongo_field_path_as_string(php_phongo_field_path* field_path)

0 commit comments

Comments
 (0)