Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc61d778 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix type cast error, should be char* not void*.

BUG: 18106835
Change-Id: Ic0051d5035e5684de0091cd3528d65e1b1e57161
parent c0b4b8b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -409,7 +409,7 @@ void flushcache()
{
{
    const long base = long(instrMem);
    const long base = long(instrMem);
    const long curr = base + long(instrMemSize);
    const long curr = base + long(instrMemSize);
    __builtin___clear_cache((void*)base, (void*)curr);
    __builtin___clear_cache((char*)base, (char*)curr);
}
}
void dataOpTest(dataOpTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = 0,
void dataOpTest(dataOpTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = 0,
                uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3)
                uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3)