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__
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to