aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chregistry.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/src/chregistry.c')
-rw-r--r--os/rt/src/chregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/src/chregistry.c b/os/rt/src/chregistry.c
index 0b5e01681..8a237ab69 100644
--- a/os/rt/src/chregistry.c
+++ b/os/rt/src/chregistry.c
@@ -164,7 +164,7 @@ thread_t *chRegNextThread(thread_t *tp) {
}
#if CH_CFG_USE_DYNAMIC == TRUE
else {
- chDbgAssert(ntp->p_refs < 255, "too many references");
+ chDbgAssert(ntp->p_refs < 255U, "too many references");
ntp->p_refs++;
}
#endif