diff options
Diffstat (limited to 'lib/Support/Memory.cpp')
-rw-r--r-- | lib/Support/Memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Memory.cpp b/lib/Support/Memory.cpp index 2a1642a..6806c1d 100644 --- a/lib/Support/Memory.cpp +++ b/lib/Support/Memory.cpp @@ -71,7 +71,7 @@ void llvm::sys::Memory::InvalidateInstructionCache(const void *Addr, char *End = Start + Len; __clear_cache(Start, End); # elif defined(__mips__) - cacheflush((char*)Addr, Len, BCACHE); + cacheflush((intptr_t)Addr, Len, BCACHE); # endif #endif // end apple |