This commit is contained in:
gingerBill
2021-04-19 22:41:52 +01:00
parent d21e522208
commit 201cad51a9

View File

@@ -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 {