Skip to content

Commit fd3a978

Browse files
authored
CDRIVER-4747 use size_t consistently in bson_utf8_validate (#1458)
1 parent 74bb5a0 commit fd3a978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libbson/src/bson/bson-utf8.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ bson_utf8_validate (const char *utf8, /* IN */
118118
bson_unichar_t c;
119119
uint8_t first_mask;
120120
uint8_t seq_length;
121-
unsigned i;
122-
unsigned j;
121+
size_t i;
122+
size_t j;
123123

124124
BSON_ASSERT (utf8);
125125

0 commit comments

Comments
 (0)