diff options
author | Reid Kleckner <rnk@google.com> | 2016-01-28 23:59:35 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-01-28 23:59:35 +0000 |
commit | 22d993877bf3149174e376d9990072a7f6e065b7 (patch) | |
tree | dbd38978259f6d1969e32a32c7cd19a285569fe3 /llvm/lib/MC/MCCodeView.cpp | |
parent | c0e42750da5f4eaecb00ce46e4a5cae8e4cddc3d (diff) | |
download | bcm5719-llvm-22d993877bf3149174e376d9990072a7f6e065b7.tar.gz bcm5719-llvm-22d993877bf3149174e376d9990072a7f6e065b7.zip |
Silence gcc warning about ternary and enumerations
llvm-svn: 259123
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
-rw-r--r-- | llvm/lib/MC/MCCodeView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCCodeView.cpp b/llvm/lib/MC/MCCodeView.cpp index 2ccd7c6abae..992edd0a8bc 100644 --- a/llvm/lib/MC/MCCodeView.cpp +++ b/llvm/lib/MC/MCCodeView.cpp @@ -155,7 +155,7 @@ void CodeViewContext::emitLineTableForFunction(MCObjectStreamer &OS, bool HaveColumns = any_of(Locs, [](const MCCVLineEntry &LineEntry) { return LineEntry.getColumn() != 0; }); - OS.EmitIntValue(HaveColumns ? codeview::LineFlags::HaveColumns : 0, 2); + OS.EmitIntValue(HaveColumns ? int(codeview::LineFlags::HaveColumns) : 0, 2); OS.emitAbsoluteSymbolDiff(FuncEnd, FuncBegin, 4); for (auto I = Locs.begin(), E = Locs.end(); I != E;) { |