summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAssembler.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-27 00:38:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-27 00:38:04 +0000
commit47f11ac5b5e06ac76fefbeb939cab394bc286a24 (patch)
treee976fef02e1152bfdb7c336ec681f96aaeabc0a6 /llvm/lib/MC/MCAssembler.cpp
parent7f0ca9a34ccc738dd0c47705e56e71277c5c2f64 (diff)
downloadbcm5719-llvm-47f11ac5b5e06ac76fefbeb939cab394bc286a24.tar.gz
bcm5719-llvm-47f11ac5b5e06ac76fefbeb939cab394bc286a24.zip
Try to make MSVC just a little happier.
llvm-svn: 80187
Diffstat (limited to 'llvm/lib/MC/MCAssembler.cpp')
-rw-r--r--llvm/lib/MC/MCAssembler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp
index 9388df8df61..5fd67b25b2a 100644
--- a/llvm/lib/MC/MCAssembler.cpp
+++ b/llvm/lib/MC/MCAssembler.cpp
@@ -829,10 +829,10 @@ uint64_t MCFragment::getAddress() const {
/* *** */
-MCSectionData::MCSectionData() : Section(*(MCSection*)0) {}
+MCSectionData::MCSectionData() : Section(0) {}
MCSectionData::MCSectionData(const MCSection &_Section, MCAssembler *A)
- : Section(_Section),
+ : Section(&_Section),
Alignment(1),
Address(~UINT64_C(0)),
Size(~UINT64_C(0)),
OpenPOWER on IntegriCloud