diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 4452b4061ce..bde4a3e8bf4 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -30,7 +30,7 @@ #include using namespace llvm; -static IncludeFile X((void*)createUnifyFunctionExitNodesPass); +static IncludeFile X((void*)(intptr_t)createUnifyFunctionExitNodesPass); namespace { Statistic<> NumBlockRemoved("adce", "Number of basic blocks removed");