summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectcopynameraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectcopynameraw.c')
-rw-r--r--cpukit/score/src/objectcopynameraw.c8
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++;