summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/residual
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2005-11-03 19:14:54 +0000
committerTill Straumann <strauman@slac.stanford.edu>2005-11-03 19:14:54 +0000
commite156c6336a0945088385b04ac4598c42cf306c90 (patch)
treee7b3a7e417dd907935b10a7ca4f7175622023c82 /c/src/lib/libbsp/powerpc/shared/residual
parent2005-11-03 straumanatslacdotstanford.edu (diff)
downloadrtems-e156c6336a0945088385b04ac4598c42cf306c90.tar.bz2
2005-11-03 straumanatslacdotstanforddotedu
* shared/bootloader/misc.c, shared/console/polled_io.c, shared/residual/residual.c: silenced compiler warnings (type cast & renaming puts->my_puts)
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/residual')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/residual/residual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/residual/residual.c b/c/src/lib/libbsp/powerpc/shared/residual/residual.c
index 4d5ce41640..d8b308229b 100644
--- a/c/src/lib/libbsp/powerpc/shared/residual/residual.c
+++ b/c/src/lib/libbsp/powerpc/shared/residual/residual.c
@@ -21,10 +21,10 @@
static int same_DevID(unsigned short vendor,
unsigned short Number,
- char * str)
+ unsigned char * str)
{
static unsigned const char hexdigit[]="0123456789ABCDEF";
- if (strlen(str)!=7) return 0;
+ if (strlen((char*)str)!=7) return 0;
if ( ( ((vendor>>10)&0x1f)+'A'-1 == str[0]) &&
( ((vendor>>5)&0x1f)+'A'-1 == str[1]) &&
( (vendor&0x1f)+'A'-1 == str[2]) &&