summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include/rtems/score/bitfield.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-29 00:21:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-29 00:21:53 +0000
commit36dbb515618615b6835d47234b5b2645a77845b7 (patch)
tree1e5c7b9b74c358b330e8495295bce29761414b18 /c/src/exec/score/include/rtems/score/bitfield.h
parentAdded comment. (diff)
downloadrtems-36dbb515618615b6835d47234b5b2645a77845b7.tar.bz2
added type to macro to eliminate warning for untyped use of a register.
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/include/rtems/score/bitfield.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/include/rtems/score/bitfield.h b/c/src/exec/score/include/rtems/score/bitfield.h
index 3fda9b4904..ee1acfd966 100644
--- a/c/src/exec/score/include/rtems/score/bitfield.h
+++ b/c/src/exec/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 ) \