diff options
Diffstat (limited to 'include/llvm/PassManagers.h')
-rw-r--r-- | include/llvm/PassManagers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index bcdea2b..b740f81 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -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. |