Skip to content

Commit

Permalink
* FIX [exchange] uint is not defined
Browse files Browse the repository at this point in the history
Signed-off-by: jaylin <[email protected]>
  • Loading branch information
JaylinYu committed Dec 9, 2023
1 parent 1b4d7a9 commit b1de212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt/protocol/exchange/exchange.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ exchange_handle_msg(exchange_t *ex, int key, void *msg)
int
exchange_get_ringBuffer(exchange_t *ex, char *rbName, ringBuffer_t **rb)
{
for (uint i = 0; i < ex->rb_count; i++) {
for (unsigned int i = 0; i < ex->rb_count; i++) {
if (strcmp(ex->rbs[i]->name, rbName) == 0) {
*rb = ex->rbs[i];
return 0;
Expand Down

0 comments on commit b1de212

Please sign in to comment.