diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-06 09:46:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-06 09:46:46 +0000 |
commit | f5c5a1db6a61000ce175a9f6ce001d530efa9ff2 (patch) | |
tree | 7d98ff92336cfb0a4ce7f52d1c6c1d27db6ddf7f /cpukit/score/src/objectcopynameraw.c | |
parent | 2006-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-f5c5a1db6a61000ce175a9f6ce001d530efa9ff2.tar.bz2 |
Add const qualifiers, use size_t where appropriate.
Diffstat (limited to 'cpukit/score/src/objectcopynameraw.c')
-rw-r--r-- | cpukit/score/src/objectcopynameraw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/objectcopynameraw.c b/cpukit/score/src/objectcopynameraw.c index 2a9cd069d6..5534323a4c 100644 --- a/cpukit/score/src/objectcopynameraw.c +++ b/cpukit/score/src/objectcopynameraw.c @@ -36,14 +36,14 @@ */ void _Objects_Copy_name_raw( - void *source, - void *destination, - uint16_t length + const void *source, + void *destination, + const size_t length ) { uint32_t *source_p = (uint32_t *) source; uint32_t *destination_p = (uint32_t *) destination; - uint32_t tmp_length = length / OBJECTS_NAME_ALIGNMENT; + size_t tmp_length = length / OBJECTS_NAME_ALIGNMENT; while ( tmp_length-- ) *destination_p++ = *source_p++; |