aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index eb1496bdc..7324e92ca 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -1327,7 +1327,7 @@ ParameterValue handle_parameter_value(CheckerContext *ctx, Type *in_type, Type *
}
if (in_type) {
- check_is_assignable_to(ctx, &o, in_type);
+ check_assignment(ctx, &o, in_type, str_lit("parameter value"));
}
if (out_type_) *out_type_ = default_type(o.type);