diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-27 00:04:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-27 00:04:14 +0000 |
commit | 35a14467edb5c54d91159f42c76bf9fa1d00ea97 (patch) | |
tree | 9f75dbf02b7562cb73f79c1cf37e358f39a689c1 /lib/ExecutionEngine/JIT/Intercept.cpp | |
parent | c9cf4f1a7573ac7e379efd6ad15d7bd0a84a097c (diff) |
Fix warning on linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/Intercept.cpp')
-rw-r--r-- | lib/ExecutionEngine/JIT/Intercept.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ExecutionEngine/JIT/Intercept.cpp b/lib/ExecutionEngine/JIT/Intercept.cpp index 490861d66c..43298d6349 100644 --- a/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/lib/ExecutionEngine/JIT/Intercept.cpp @@ -52,14 +52,14 @@ static void runAtExitHandlers() { #include <sys/stat.h> #endif void *FunctionPointers[] = { - (void *) stat, - (void *) fstat, - (void *) lstat, - (void *) stat64, - (void *) fstat64, - (void *) lstat64, - (void *) atexit, - (void *) mknod + (void *)(intptr_t) stat, + (void *)(intptr_t) fstat, + (void *)(intptr_t) lstat, + (void *)(intptr_t) stat64, + (void *)(intptr_t) fstat64, + (void *)(intptr_t) lstat64, + (void *)(intptr_t) atexit, + (void *)(intptr_t) mknod }; #endif // __linux__ |