summaryrefslogtreecommitdiff
path: root/src/hir/deserialise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/deserialise.cpp')
-rw-r--r--src/hir/deserialise.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hir/deserialise.cpp b/src/hir/deserialise.cpp
index 18c58682..19786eb1 100644
--- a/src/hir/deserialise.cpp
+++ b/src/hir/deserialise.cpp
@@ -983,7 +983,8 @@ namespace {
case 3:
return ::MIR::Statement::make_SetDropFlag({
static_cast<unsigned int>(m_in.read_count()),
- m_in.read_bool()
+ m_in.read_bool(),
+ static_cast<unsigned int>(m_in.read_count())
});
default:
::std::cerr << "Bad tag for a MIR Statement" << ::std::endl;