diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-06 16:17:41 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-06 16:17:41 +0000 |
commit | 9a77cde34ecdb532fec139d01458a66459ce0758 (patch) | |
tree | e64e2ab608268d8569b92fa09cc4d7aac100d5ad /os/rt/src/chregistry.c | |
parent | 0678da6352ac484d560086a7f08b533c171b3ef1 (diff) | |
download | ChibiOS-9a77cde34ecdb532fec139d01458a66459ce0758.tar.gz ChibiOS-9a77cde34ecdb532fec139d01458a66459ce0758.tar.bz2 ChibiOS-9a77cde34ecdb532fec139d01458a66459ce0758.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7719 35acf78f-673a-0410-8e92-d51de3d6d3f4
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),
|