summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 0d41f1780..769816d2c 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3359,7 +3359,7 @@ eval7t(
{
type_T *actual = typval2type(rettv, get_copyID(), &type_list, TRUE);
- if (!equal_type(want_type, actual))
+ if (!equal_type(want_type, actual, 0))
{
if (want_type == &t_bool && actual != &t_bool
&& (actual->tt_flags & TTFLAG_BOOL_OK))