[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/Intercept.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 26 17:04:28 PDT 2006



Changes in directory llvm/lib/ExecutionEngine/JIT:

Intercept.cpp updated: 1.26 -> 1.27
---
Log message:

Fix warning on linux


---
Diffs of the changes:  (+8 -8)

 Intercept.cpp |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/lib/ExecutionEngine/JIT/Intercept.cpp
diff -u llvm/lib/ExecutionEngine/JIT/Intercept.cpp:1.26 llvm/lib/ExecutionEngine/JIT/Intercept.cpp:1.27
--- llvm/lib/ExecutionEngine/JIT/Intercept.cpp:1.26	Thu Jun  1 12:12:14 2006
+++ llvm/lib/ExecutionEngine/JIT/Intercept.cpp	Wed Jul 26 19:04:14 2006
@@ -52,14 +52,14 @@
 #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__
 






More information about the llvm-commits mailing list