Skip to content

Commit aa3419b

Browse files
committed
Fix for cpp/comparison-with-wider-type
1 parent 3a9776b commit aa3419b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/crow/http_server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ namespace crow
182182
uint16_t min_queue_idx = 0;
183183

184184
// TODO improve load balancing
185-
for (uint16_t i = 1; i < task_queue_length_pool_.size() && task_queue_length_pool_[min_queue_idx] > 0; i++)
185+
for (size_t i = 1; i < task_queue_length_pool_.size() && task_queue_length_pool_[min_queue_idx] > 0; i++)
186186
// No need to check other io_services if the current one has no tasks
187187
{
188188
if (task_queue_length_pool_[i] < task_queue_length_pool_[min_queue_idx])

0 commit comments

Comments
 (0)