aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-19 22:41:52 +0100
committergingerBill <bill@gingerbill.org>2021-04-19 22:41:52 +0100
commit201cad51a98579627a7b0ac495045a7323474e27 (patch)
tree25149c255a717bb47baa263696bad68d9f96085a /src/check_expr.cpp
parentd21e522208d9edcb6813d82398f64b71f01b521d (diff)
Fix typo
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 9600445d6..93cff8468 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -1744,7 +1744,7 @@ void check_is_expressible(CheckerContext *ctx, Operand *o, Type *type) {
if (!is_type_integer(o->type) && is_type_integer(type)) {
error(o->expr, "'%s' truncated to '%s'", a, b);
} else {
- error(o->expr, "Cannot convert '%s' to '%s' form '%s", a, b, c);
+ error(o->expr, "Cannot convert '%s' to '%s' from '%s", a, b, c);
check_assignment_error_suggestion(ctx, o, type);
}
} else {