Silence a -pedantic warning.
authorChris Lattner <sabre@nondot.org>
Thu, 1 Jun 2006 17:16:21 +0000 (17:16 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Jun 2006 17:16:21 +0000 (17:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28632 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ADCE.cpp

index 4452b4061ceb09a438981cb853ef2acb20546156..bde4a3e8bf46981961e762ea7d5c26d9bdd6adf8 100644 (file)
@@ -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");