@@ -122,20 +122,20 @@ bson_iter_utf8_len_unsafe (const bson_iter_t *iter)
122122
123123void
124124bson_iter_array (const bson_iter_t * iter ,
125- uint32_t * array_len ,
126- const uint8_t * * array );
125+ uint32_t * array_len ,
126+ const uint8_t * * array );
127127
128128
129129void
130130bson_iter_binary (const bson_iter_t * iter ,
131131 bson_subtype_t * subtype ,
132- uint32_t * binary_len ,
133- const uint8_t * * binary );
132+ uint32_t * binary_len ,
133+ const uint8_t * * binary );
134134
135135
136136const char *
137137bson_iter_code (const bson_iter_t * iter ,
138- uint32_t * length );
138+ uint32_t * length );
139139
140140
141141/**
@@ -149,7 +149,7 @@ bson_iter_code (const bson_iter_t *iter,
149149 */
150150static BSON_INLINE const char *
151151bson_iter_code_unsafe (const bson_iter_t * iter ,
152- uint32_t * length )
152+ uint32_t * length )
153153{
154154 * length = bson_iter_utf8_len_unsafe (iter );
155155 return (const char * )(iter -> raw + iter -> d2 );
@@ -158,22 +158,22 @@ bson_iter_code_unsafe (const bson_iter_t *iter,
158158
159159const char *
160160bson_iter_codewscope (const bson_iter_t * iter ,
161- uint32_t * length ,
162- uint32_t * scope_len ,
163- const uint8_t * * scope );
161+ uint32_t * length ,
162+ uint32_t * scope_len ,
163+ const uint8_t * * scope );
164164
165165
166166void
167167bson_iter_dbpointer (const bson_iter_t * iter ,
168- uint32_t * collection_len ,
168+ uint32_t * collection_len ,
169169 const char * * collection ,
170170 const bson_oid_t * * oid );
171171
172172
173173void
174174bson_iter_document (const bson_iter_t * iter ,
175- uint32_t * document_len ,
176- const uint8_t * * document );
175+ uint32_t * document_len ,
176+ const uint8_t * * document );
177177
178178
179179double
@@ -323,7 +323,7 @@ bson_iter_key_unsafe (const bson_iter_t *iter)
323323
324324const char *
325325bson_iter_utf8 (const bson_iter_t * iter ,
326- uint32_t * length );
326+ uint32_t * length );
327327
328328
329329/**
@@ -335,7 +335,7 @@ bson_iter_utf8 (const bson_iter_t *iter,
335335 */
336336static BSON_INLINE const char *
337337bson_iter_utf8_unsafe (const bson_iter_t * iter ,
338- uint32_t * length )
338+ size_t * length )
339339{
340340 * length = bson_iter_utf8_len_unsafe (iter );
341341 return (const char * )(iter -> raw + iter -> d2 );
@@ -344,7 +344,7 @@ bson_iter_utf8_unsafe (const bson_iter_t *iter,
344344
345345char *
346346bson_iter_dup_utf8 (const bson_iter_t * iter ,
347- uint32_t * length );
347+ uint32_t * length );
348348
349349
350350int64_t
@@ -435,7 +435,7 @@ bson_iter_regex (const bson_iter_t *iter,
435435
436436const char *
437437bson_iter_symbol (const bson_iter_t * iter ,
438- uint32_t * length );
438+ uint32_t * length );
439439
440440
441441bson_type_t
0 commit comments