summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-10 17:35:42 +0000
committerChris Lattner <sabre@nondot.org>2009-08-10 17:35:42 +0000
commit7b01bf612549ff49c6800de1f94c7be2dac34796 (patch)
treea3b6bc8b74daa96c63792e3bdcbc1965422cc5fd /llvm/lib/Target
parent2a26e351fc0750b62ae7ab5c4253650923aeccc9 (diff)
downloadbcm5719-llvm-7b01bf612549ff49c6800de1f94c7be2dac34796.tar.gz
bcm5719-llvm-7b01bf612549ff49c6800de1f94c7be2dac34796.zip
fix some warnings for the MSVC build, by Yonggang Luo!
llvm-svn: 78571
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
index 7a5fdc853cd..39ebfa44399 100644
--- a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
+++ b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp
@@ -35,7 +35,7 @@ using namespace llvm;
PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
const TargetAsmInfo *T, bool V)
: AsmPrinter(O, TM, T, V), DbgInfo(O, T) {
- PTLI = static_cast<const PIC16TargetLowering*>(TM.getTargetLowering());
+ PTLI = static_cast<PIC16TargetLowering*>(TM.getTargetLowering());
PTAI = static_cast<const PIC16TargetAsmInfo*>(T);
PTOF = (PIC16TargetObjectFile*)&PTLI->getObjFileLowering();
}
OpenPOWER on IntegriCloud