summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2014-10-23 17:25:28 -0500
committerChih-Hung Hsieh2014-10-23 17:25:28 -0500
commitdc61d77872e1ed857a02444f90dac72f8169e738 (patch)
treed1afa02c492fd2a2f9928b9c5d69e7caf20b80fb /libpixelflinger/tests/arch-arm64/assembler
parentc0b4b8b0f17efd4381a828bfbed232fb10b27300 (diff)
downloadplatform-system-core-dc61d77872e1ed857a02444f90dac72f8169e738.tar.gz
platform-system-core-dc61d77872e1ed857a02444f90dac72f8169e738.tar.xz
platform-system-core-dc61d77872e1ed857a02444f90dac72f8169e738.zip
Fix type cast error, should be char* not void*.
BUG: 18106835 Change-Id: Ic0051d5035e5684de0091cd3528d65e1b1e57161
Diffstat (limited to 'libpixelflinger/tests/arch-arm64/assembler')
-rw-r--r--libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp b/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp
index 456be58a0..fd96f7ebc 100644
--- a/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp
+++ b/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp
@@ -409,7 +409,7 @@ void flushcache()
409{ 409{
410 const long base = long(instrMem); 410 const long base = long(instrMem);
411 const long curr = base + long(instrMemSize); 411 const long curr = base + long(instrMemSize);
412 __builtin___clear_cache((void*)base, (void*)curr); 412 __builtin___clear_cache((char*)base, (char*)curr);
413} 413}
414void dataOpTest(dataOpTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = 0, 414void dataOpTest(dataOpTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = 0,
415 uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3) 415 uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3)