diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-27 00:38:04 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-27 00:38:04 +0000 |
commit | 81e400092f55c2eba157172bfc0dd0df8317638d (patch) | |
tree | 05e69c5c76ce3aefee321fc81238e97a9a4e32cb /lib/MC/MCAssembler.cpp | |
parent | 7e7f06e70a07be4a5fad81883da6bebf33e1b3f6 (diff) |
Try to make MSVC just a little happier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAssembler.cpp')
-rw-r--r-- | lib/MC/MCAssembler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index 9388df8df6..5fd67b25b2 100644 --- a/lib/MC/MCAssembler.cpp +++ b/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)), |