diff options
author | John Hodge <tpg@mutabah.net> | 2017-08-20 20:56:24 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-08-20 20:56:24 +0800 |
commit | 3d2faba77cdb2695753a4c62641b7f92a573869b (patch) | |
tree | 7a281dc4224adc9b03b82c88c0177130408b0642 /src/expand | |
parent | aa44379d158085d649d9ab3514e0c2276d2d5076 (diff) | |
download | mrust-3d2faba77cdb2695753a4c62641b7f92a573869b.tar.gz |
Misc - Visual studio cleanups
Diffstat (limited to 'src/expand')
-rw-r--r-- | src/expand/format_args.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/format_args.cpp b/src/expand/format_args.cpp index 92afcbb2..e4c02b8b 100644 --- a/src/expand/format_args.cpp +++ b/src/expand/format_args.cpp @@ -477,7 +477,7 @@ class CFormatArgsExpander: auto expr_tt = TokenTree(Token( InterpolatedFragment(InterpolatedFragment::EXPR, Parse_Expr0(lex).release()) )); - auto ins_rv = named_args_index.insert( ::std::make_pair(mv$(name), named_args.size()) ); + auto ins_rv = named_args_index.insert( ::std::make_pair(mv$(name), static_cast<unsigned>(named_args.size())) ); if( ins_rv.second == false ) { ERROR(sp, E0000, "Duplicate definition of named argument `" << ins_rv.first->first << "`"); } |