forked from Imagelibrary/rtems
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
|
||||
|
||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libcsupport/src/malloc.c: Do not assert on free of bad pointer.
|
||||
|
||||
@@ -103,7 +103,7 @@ vprintk(const char *fmt, va_list ap)
|
||||
switch (c)
|
||||
{
|
||||
case 'o': case 'O': base = 8; sign = 0; break;
|
||||
case 'i': case 'I':
|
||||
case 'i': case 'I':
|
||||
case 'd': case 'D': base = 10; sign = 1; break;
|
||||
case 'u': case 'U': base = 10; sign = 0; break;
|
||||
case 'x': case 'X': base = 16; sign = 0; break;
|
||||
|
||||
@@ -63,7 +63,7 @@ Objects_Control *_Objects_Get(
|
||||
/* index = _Objects_Get_index( id ); */
|
||||
index = id & 0x0000ffff;
|
||||
/* This should work but doesn't always :( */
|
||||
/* index = (uint16_t ) id; */
|
||||
/* index = (uint16_t) id; */
|
||||
#endif
|
||||
|
||||
if ( information->maximum >= index ) {
|
||||
|
||||
Reference in New Issue
Block a user