X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FPassManagers.h;h=b740f817f787374863db896d7ee4c6b55e53ca10;hb=276222a5ae189ed5c6a2afb248d4c8f0335585b4;hp=bcdea2bc3dc6688b3b33da741b3594854fc2dbbe;hpb=98147a306e9b3be6d52ad26f7836b89f46be99cb;p=oota-llvm.git diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index bcdea2bc3dc..b740f817f78 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.