Silence a -pedantic warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28632 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp
index 4452b40..bde4a3e 100644
--- a/lib/Transforms/Scalar/ADCE.cpp
+++ b/lib/Transforms/Scalar/ADCE.cpp
@@ -30,7 +30,7 @@
#include <iostream>
using namespace llvm;
-static IncludeFile X((void*)createUnifyFunctionExitNodesPass);
+static IncludeFile X((void*)(intptr_t)createUnifyFunctionExitNodesPass);
namespace {
Statistic<> NumBlockRemoved("adce", "Number of basic blocks removed");