Skip to content

Commit 680b04e

Browse files
authored
Change loop variable type to UBaseType_t
1 parent 8a365f8 commit 680b04e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpputest-for-freertos-lib/src/cpputest_for_freertos_semaphore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ extern "C" QueueHandle_t xQueueCreateCountingSemaphore(const UBaseType_t maxCoun
5959
return nullptr;
6060
}
6161

62-
for (int i = 0; i < initialCount; ++i)
62+
for (UBaseType_t i = 0; i < initialCount; ++i)
6363
{
6464
xSemaphoreGive(sema);
6565
}
6666

6767
return sema;
68-
}
68+
}

0 commit comments

Comments
 (0)