Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Fix a typo
@ 2012-06-08 19:43 Siva Chandra
  2012-06-08 20:31 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Siva Chandra @ 2012-06-08 19:43 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

Hello,

The attached patch fixes, what looks to me like, a definite typo.

2012-06-08  Siva Chandra Reddy  <sivachandra@google.com>

        * valarith.c (binop_types_user_defined_p): Fix a typo.

Thanks,
Siva Chandra

[-- Attachment #2: typo_patch.txt --]
[-- Type: text/plain, Size: 600 bytes --]

Index: valarith.c
===================================================================
RCS file: /cvs/src/src/gdb/valarith.c,v
retrieving revision 1.103
diff -u -p -r1.103 valarith.c
--- valarith.c	18 May 2012 21:02:50 -0000	1.103
+++ valarith.c	8 Jun 2012 19:03:23 -0000
@@ -279,7 +279,7 @@ binop_types_user_defined_p (enum exp_opc
   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));
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-09  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-08 19:43 [RFA] Fix a typo Siva Chandra
2012-06-08 20:31 ` Tom Tromey
2012-06-09  7:38   ` Siva Chandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox