Skip to content

Commit

Permalink
Fix msvc compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
milindl committed May 9, 2023
1 parent 5ef3470 commit da687ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rdkafka_range_assignor.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static int setupRackAwareAssignment(rd_kafka_t *rk,
broker_rack_pair_cnt = num_brokers;

for (i = 0; i < member_cnt; i++) {
char member_id[10] = {};
char member_id[10];
snprintf(member_id, 10, "consumer%d", (int)(i + 1));
ut_init_member_with_rack(
&members[i], member_id, ALL_RACKS[consumer_racks[i]],
Expand Down

0 comments on commit da687ac

Please sign in to comment.