diff options
author | Chih-Hung Hsieh <chh@google.com> | 2014-10-23 15:25:28 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2014-10-23 15:25:28 -0700 |
commit | dc61d77872e1ed857a02444f90dac72f8169e738 (patch) | |
tree | d1afa02c492fd2a2f9928b9c5d69e7caf20b80fb /libpixelflinger | |
parent | c0b4b8b0f17efd4381a828bfbed232fb10b27300 (diff) | |
download | system_core-dc61d77872e1ed857a02444f90dac72f8169e738.zip system_core-dc61d77872e1ed857a02444f90dac72f8169e738.tar.gz system_core-dc61d77872e1ed857a02444f90dac72f8169e738.tar.bz2 |
Fix type cast error, should be char* not void*.
BUG: 18106835
Change-Id: Ic0051d5035e5684de0091cd3528d65e1b1e57161
Diffstat (limited to 'libpixelflinger')
-rw-r--r-- | libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp | 2 |
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 456be58..fd96f7e 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() { const long base = long(instrMem); 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, uint32_t Rn = 1, uint32_t Rm = 2, uint32_t Rs = 3) |