summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectclearname.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-12-06 09:46:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-12-06 09:46:46 +0000
commitf5c5a1db6a61000ce175a9f6ce001d530efa9ff2 (patch)
tree7d98ff92336cfb0a4ce7f52d1c6c1d27db6ddf7f /cpukit/score/src/objectclearname.c
parent2006-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f5c5a1db6a61000ce175a9f6ce001d530efa9ff2.tar.bz2
Add const qualifiers, use size_t where appropriate.
Diffstat (limited to 'cpukit/score/src/objectclearname.c')
-rw-r--r--cpukit/score/src/objectclearname.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/objectclearname.c b/cpukit/score/src/objectclearname.c
index 1c90def6fa..f0845810ab 100644
--- a/cpukit/score/src/objectclearname.c
+++ b/cpukit/score/src/objectclearname.c
@@ -37,12 +37,12 @@
*/
void _Objects_Clear_name(
- void *name,
- uint16_t length
+ void *name,
+ const size_t length
)
{
- uint32_t index;
- uint32_t maximum = length / OBJECTS_NAME_ALIGNMENT;
+ size_t index;
+ size_t maximum = length / OBJECTS_NAME_ALIGNMENT;
uint32_t *name_ptr = (uint32_t *) name;
for ( index=0 ; index < maximum ; index++ )