Make function fixed_point_scaling_factor a method of struct type
[deliverable/binutils-gdb.git] / gdb / typeprint.c
index 0dd3b1c482143a49c8a54c788049d4892b7487c3..a3fc9ccff306b7a9e492cb15b06e82a73cac63bb 100644 (file)
@@ -667,7 +667,7 @@ print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream)
 void
 print_type_fixed_point (struct type *type, struct ui_file *stream)
 {
-  std::string small_img = fixed_point_scaling_factor (type).str ();
+  std::string small_img = type->fixed_point_scaling_factor ().str ();
 
   fprintf_filtered (stream, "%s-byte fixed point (small = %s)",
                    pulongest (TYPE_LENGTH (type)), small_img.c_str ());
This page took 0.022818 seconds and 4 git commands to generate.