diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c index e8bc1b4cf4..71a1004981 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c +++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c @@ -71,7 +71,7 @@ void TasksLoadImage(sdma_regs *sdma) SCTDT_T *tt; /* copy task table from source to destination */ - memcpy((void *)((uint8 *)(sdma->taskBar) - MBarPhysOffsetGlobal), (void *) &taskTable, (unsigned long) taskTableBytes); + memcpy((void *)((uint8 *)(sdma->taskBar) - MBarPhysOffsetGlobal), &taskTable, taskTableBytes); /* adjust addresses in task table */ for (i=0; i < (uint32) taskTableTasks; i++) { tt = (SCTDT_T *)(((uint8 *)(sdma->taskBar) - MBarPhysOffsetGlobal) + (uint32) offsetEntry + (i * sizeof (SCTDT_T))); |