* symfile.c (separate_debug_file_exists): Update.
[deliverable/binutils-gdb.git] / gdb / valarith.c
index 0225339ded4862dc64992fe570ee67b409977b2a..96d54116a7d6150510851e7c1d51f21946149fa9 100644 (file)
@@ -279,7 +279,7 @@ binop_types_user_defined_p (enum exp_opcode op,
   if (TYPE_CODE (type1) == TYPE_CODE_REF)
     type1 = check_typedef (TYPE_TARGET_TYPE (type1));
 
-  type2 = check_typedef (type1);
+  type2 = check_typedef (type2);
   if (TYPE_CODE (type2) == TYPE_CODE_REF)
     type2 = check_typedef (TYPE_TARGET_TYPE (type2));
 
This page took 0.023973 seconds and 4 git commands to generate.