From: Sean Callanan Date: Tue, 13 Apr 2010 21:36:35 +0000 (+0000) Subject: Quick fix for build errors caused by undefined X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=535f4de469c58e326e8bf49310ac30fe4e792a02;p=oota-llvm.git Quick fix for build errors caused by undefined NULL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101180 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/MCDisassembler.h b/include/llvm/MC/MCDisassembler.h index d463cdf049d..dfb8ed5e8a1 100644 --- a/include/llvm/MC/MCDisassembler.h +++ b/include/llvm/MC/MCDisassembler.h @@ -52,7 +52,7 @@ public: /// @return - An array of instruction information, with one entry for /// each MCInst opcode this disassembler returns. /// NULL if there is no info for this target. - virtual EDInstInfo *getEDInfo() const { return NULL; } + virtual EDInstInfo *getEDInfo() const { return (EDInstInfo*)0; } }; } // namespace llvm