diff options
author | John Hodge <tpg@mutabah.net> | 2017-09-02 22:41:31 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-09-02 22:41:31 +0800 |
commit | 433e16af0fc89cf05e5b6f78526a20f24bcbe6d0 (patch) | |
tree | 25a742bee2897c5495b542256366dc4c5b1b1142 /src/hir | |
parent | f2cd7ef8802da4115a39f92ee89630e5b012f754 (diff) | |
download | mrust-433e16af0fc89cf05e5b6f78526a20f24bcbe6d0.tar.gz |
Misc - Clean up some MSVC warnings
Diffstat (limited to 'src/hir')
-rw-r--r-- | src/hir/deserialise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/deserialise.cpp b/src/hir/deserialise.cpp index 0777a33b..1953828b 100644 --- a/src/hir/deserialise.cpp +++ b/src/hir/deserialise.cpp @@ -1064,7 +1064,7 @@ namespace { }) _(Switch, { deserialise_mir_lvalue(), - deserialise_vec_c<unsigned int>([&](){ return m_in.read_count(); }) + deserialise_vec_c<unsigned int>([&](){ return static_cast<unsigned int>(m_in.read_count()); }) }) _(Call, { static_cast<unsigned int>(m_in.read_count()), |