From: Chris Lattner Date: Thu, 1 Jun 2006 17:16:21 +0000 (+0000) Subject: Silence a -pedantic warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5180b29cb0671afcfbf73e29c177c6a048b64cbb;p=oota-llvm.git 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 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");