]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR ada/46574
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Nov 2010 19:07:08 +0000 (19:07 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Nov 2010 19:07:08 +0000 (19:07 +0000)
* gcc-interface/utils2.c (compare_elmt_bitpos): Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167207 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils2.c

index c32cac58bfa84bdb7a88d1d9a984355abd47e631..03f2d6836f0a6f18c9c4ba00d199879da9efae5d 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-27  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/46574
+       * gcc-interface/utils2.c (compare_elmt_bitpos): Fix typos.
+
 2010-11-27  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ada/40777
index 43599fac5a9e294e911369663a9e48b22ea8f4d3..bad121c52abc99baaefa017eb40b1794a60ad522 100644 (file)
@@ -1654,8 +1654,8 @@ build_call_raise_column (int msg, Node_Id gnat_node)
 static int
 compare_elmt_bitpos (const PTR rt1, const PTR rt2)
 {
-  const constructor_elt * const elmt1 = (const constructor_elt const *) rt1;
-  const constructor_elt * const elmt2 = (const constructor_elt const *) rt2;
+  const constructor_elt * const elmt1 = (const constructor_elt * const) rt1;
+  const constructor_elt * const elmt2 = (const constructor_elt * const) rt2;
   const_tree const field1 = elmt1->index;
   const_tree const field2 = elmt2->index;
   const int ret