diff options
author | Chris Johns <chrisj@rtems.org> | 2009-05-08 04:55:53 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-05-08 04:55:53 +0000 |
commit | 199ccded5dbc4dabb7e4fd5a2772eed6e571d444 (patch) | |
tree | 12c832f55d56161ad0ed3ae4e8fab785596883db /cpukit/score/include/rtems/score/bitfield.h | |
parent | 2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-199ccded5dbc4dabb7e4fd5a2772eed6e571d444.tar.bz2 |
2009-05-08 Chris Johns <chrisj@rtems.org>
* cpukit/libblock/src/bdpart.c, libmisc/shell/main_msdosfmt.c,
libmisc/shell/main_rm.c, libnetworking/libc/gethostnamadr.c,
score/include/rtems/score/bitfield.h,
score/inline/rtems/score/priority.inl: Remove warnings.
Diffstat (limited to 'cpukit/score/include/rtems/score/bitfield.h')
-rw-r--r-- | cpukit/score/include/rtems/score/bitfield.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/bitfield.h b/cpukit/score/include/rtems/score/bitfield.h index 04a2a96f4c..0efc574f58 100644 --- a/cpukit/score/include/rtems/score/bitfield.h +++ b/cpukit/score/include/rtems/score/bitfield.h @@ -90,9 +90,9 @@ const unsigned char __log2table[256] = { register const unsigned char *__p = __log2table; \ \ if ( __value < 0x100 ) \ - (_bit_number) = __p[ __value ] + 8; \ + (_bit_number) = (Priority_Bit_map_control)( __p[ __value ] + 8 ); \ else \ - (_bit_number) = __p[ __value >> 8 ]; \ + (_bit_number) = (Priority_Bit_map_control)( __p[ __value >> 8 ] ); \ } #endif |