diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-29 00:21:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-29 00:21:53 +0000 |
commit | 36dbb515618615b6835d47234b5b2645a77845b7 (patch) | |
tree | 1e5c7b9b74c358b330e8495295bce29761414b18 /cpukit/score/include/rtems | |
parent | Added comment. (diff) | |
download | rtems-36dbb515618615b6835d47234b5b2645a77845b7.tar.bz2 |
added type to macro to eliminate warning for untyped use of a register.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/bitfield.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/bitfield.h b/cpukit/score/include/rtems/score/bitfield.h index 3fda9b4904..ee1acfd966 100644 --- a/cpukit/score/include/rtems/score/bitfield.h +++ b/cpukit/score/include/rtems/score/bitfield.h @@ -79,7 +79,7 @@ const unsigned char __log2table[256] = { #define _Bitfield_Find_first_bit( _value, _bit_number ) \ { \ - register __value = (_value); \ + register unsigned32 __value = (unsigned32) (_value); \ register const unsigned char *__p = __log2table; \ \ if ( __value < 0x100 ) \ |