2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>

* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
This commit is contained in:
Joel Sherrill
2007-11-26 21:13:35 +00:00
parent 8802a9b3d1
commit c4254e957f
3 changed files with 6 additions and 2 deletions

View File

@@ -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> 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc.c: Do not assert on free of bad pointer. * libcsupport/src/malloc.c: Do not assert on free of bad pointer.

View File

@@ -103,7 +103,7 @@ vprintk(const char *fmt, va_list ap)
switch (c) switch (c)
{ {
case 'o': case 'O': base = 8; sign = 0; break; 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 'd': case 'D': base = 10; sign = 1; break;
case 'u': case 'U': base = 10; sign = 0; break; case 'u': case 'U': base = 10; sign = 0; break;
case 'x': case 'X': base = 16; sign = 0; break; case 'x': case 'X': base = 16; sign = 0; break;

View File

@@ -63,7 +63,7 @@ Objects_Control *_Objects_Get(
/* index = _Objects_Get_index( id ); */ /* index = _Objects_Get_index( id ); */
index = id & 0x0000ffff; index = id & 0x0000ffff;
/* This should work but doesn't always :( */ /* This should work but doesn't always :( */
/* index = (uint16_t ) id; */ /* index = (uint16_t) id; */
#endif #endif
if ( information->maximum >= index ) { if ( information->maximum >= index ) {