forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user