diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-12-15 14:25:12 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-12-15 14:25:12 +0000 |
| commit | 2d67fd6d64048378b0dd695ed99fc65199d7d32c (patch) | |
| tree | 55a092a7d80165cb422c725220b1eefaf0a05426 /llvm/lib | |
| parent | bf74736290202c96a5b9089693b5aa5d3a37677c (diff) | |
| download | bcm5719-llvm-2d67fd6d64048378b0dd695ed99fc65199d7d32c.tar.gz bcm5719-llvm-2d67fd6d64048378b0dd695ed99fc65199d7d32c.zip | |
Changing a cast from unsigned to uint64_t, should be NFC in practice.
llvm-svn: 224249
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 70b421d0411..87317555bd2 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/lib/MC/MCAsmStreamer.cpp @@ -683,7 +683,7 @@ void MCAsmStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, // emission domain. This produces nicer output and silences potential // truncation warnings when round tripping through another assembler. uint64_t Shift = 64 - EmissionSize * 8; - assert(Shift < static_cast<unsigned>( + assert(Shift < static_cast<uint64_t>( std::numeric_limits<unsigned long long>::digits) && "undefined behavior"); ValueToEmit &= ~0ULL >> Shift; |

