Change casts from old style to new style. This helps document the details
[oota-llvm.git] / include / llvm / PassManagers.h
index bcdea2bc3dc6688b3b33da741b3594854fc2dbbe..b740f817f787374863db896d7ee4c6b55e53ca10 100644 (file)
@@ -341,7 +341,7 @@ class FPPassManager : public ModulePass, public PMDataManager {
 public:
   static char ID;
   explicit FPPassManager(int Depth) 
-  : ModulePass((intptr_t)&ID), PMDataManager(Depth) { }
+  : ModulePass(intptr_t(&ID)), PMDataManager(Depth) { }
   
   /// run - Execute all of the passes scheduled for execution.  Keep track of
   /// whether any of the passes modifies the module, and if so, return true.