From a79db30d284205cf27d90f9a174a7eb28c8afcb8 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 4 Sep 2008 17:05:41 +0000 Subject: Tidy up several unbeseeming casts from pointer to intptr_t. llvm-svn: 55779 --- llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp') diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp index 522060e..dd16fab 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp @@ -21,7 +21,7 @@ namespace { public: static char ID; // Pass identifcation, replacement for typeid explicit WriteBitcodePass(std::ostream &o) - : ModulePass((intptr_t) &ID), Out(o) {} + : ModulePass(&ID), Out(o) {} const char *getPassName() const { return "Bitcode Writer"; } -- cgit v1.1