diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/valops.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 159f74c..96fb557 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-01-06 Mark Kettenis <kettenis@gnu.org> + + * valops.c (value_arg_coerce): Fix formatting. + 2002-01-06 Andrew Cagney <ac131313@redhat.com> * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. diff --git a/gdb/valops.c b/gdb/valops.c index 2ed9923..cb30222 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1142,11 +1142,12 @@ standard_coerce_float_to_double (struct type *formal, struct type *actual) IS_PROTOTYPED is non-zero if the function declaration is prototyped. */ static struct value * -value_arg_coerce (struct value *arg, struct type *param_type, int is_prototyped) +value_arg_coerce (struct value *arg, struct type *param_type, + int is_prototyped) { register struct type *arg_type = check_typedef (VALUE_TYPE (arg)); register struct type *type - = param_type ? check_typedef (param_type) : arg_type; + = param_type ? check_typedef (param_type) : arg_type; switch (TYPE_CODE (type)) { |