diff options
Diffstat (limited to 'gdb/c-exp.h')
-rw-r--r-- | gdb/c-exp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.h b/gdb/c-exp.h index 20eeaca..51e2d26 100644 --- a/gdb/c-exp.h +++ b/gdb/c-exp.h @@ -138,7 +138,7 @@ public: value *lhs = std::get<0> (this->m_storage)->evaluate (nullptr, exp, noside); value *rhs - = std::get<1> (this->m_storage)->evaluate (value_type (lhs), exp, + = std::get<1> (this->m_storage)->evaluate (lhs->type (), exp, noside); return FUNC (expect_type, exp, noside, OP, lhs, rhs); } |