From 199ccded5dbc4dabb7e4fd5a2772eed6e571d444 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 8 May 2009 04:55:53 +0000 Subject: 2009-05-08 Chris Johns * 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. --- cpukit/score/include/rtems/score/bitfield.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include/rtems/score/bitfield.h') 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 -- cgit v1.2.3