ada-lang.c: fix line too long in cast_from_gnat_encoded_fixed_point_type

One of the lines got too long after a renaming done in a previous
commit. This fixes that.

gdb/ChangeLog:

        * ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Split
        line too long.
This commit is contained in:
Joel Brobecker
2020-11-01 02:38:45 -05:00
parent 75f24e86ba
commit db99d0d055
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2020-11-01 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Split
line too long.
2020-11-01 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Renames

View File

@@ -9172,7 +9172,8 @@ unwrap_value (struct value *val)
static struct value *
cast_from_gnat_encoded_fixed_point_type (struct type *type, struct value *arg)
{
struct value *scale = gnat_encoded_fixed_point_scaling_factor (value_type (arg));
struct value *scale
= gnat_encoded_fixed_point_scaling_factor (value_type (arg));
arg = value_cast (value_type (scale), arg);
arg = value_binop (arg, scale, BINOP_MUL);