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 | 2c3e9bab6fa809b5c505c6f5d4fafa6ce6caa84c (patch) | |
tree | c53e7dae656174d272ee1026c59d9c3821c1a02a | |
parent | 4488f0c303bc9fd9216960aafd87e8d36437e90e (diff) | |
download | bcm5719-llvm-2c3e9bab6fa809b5c505c6f5d4fafa6ce6caa84c.tar.gz bcm5719-llvm-2c3e9bab6fa809b5c505c6f5d4fafa6ce6caa84c.zip |
Fix warning on linux
llvm-svn: 29314
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp index 490861d66c4..43298d6349f 100644 --- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/llvm/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__ |