diff options
Diffstat (limited to 'os/rt/src/chregistry.c')
-rw-r--r-- | os/rt/src/chregistry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/src/chregistry.c b/os/rt/src/chregistry.c index bd49925af..76a5190b4 100644 --- a/os/rt/src/chregistry.c +++ b/os/rt/src/chregistry.c @@ -81,9 +81,9 @@ ROMCONST chdebug_t ch_debug = { {'m', 'a', 'i', 'n'},
(uint8_t)0,
(uint8_t)sizeof (chdebug_t),
- (uint16_t)((CH_KERNEL_MAJOR << 11) |
- (CH_KERNEL_MINOR << 6) |
- (CH_KERNEL_PATCH << 0)),
+ (uint16_t)(((unsigned)CH_KERNEL_MAJOR << 11U) |
+ ((unsigned)CH_KERNEL_MINOR << 6U) |
+ ((unsigned)CH_KERNEL_PATCH << 0U)),
(uint8_t)sizeof (void *),
(uint8_t)sizeof (systime_t),
(uint8_t)sizeof (thread_t),
|