diff options
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r-- | include/llvm/Pass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index ea129e0..e38ee8f 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -170,7 +170,7 @@ public: template<typename AnalysisClass> static const PassInfo *getClassPassInfo() { - return lookupPassInfo((intptr_t)&AnalysisClass::ID); + return lookupPassInfo(intptr_t(&AnalysisClass::ID)); } // lookupPassInfo - Return the pass info object for the specified pass class, |