OSDN Git Service

2010-09-25 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Sep 2010 07:06:36 +0000 (07:06 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Sep 2010 07:06:36 +0000 (07:06 +0000)
        * interface.c (gfc_match_end_interface): Constify char pointer
        to fix warning.

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

gcc/fortran/ChangeLog
gcc/fortran/interface.c

index 7b32c5d..5df77bf 100644 (file)
@@ -1,6 +1,11 @@
+2010-09-25  Tobias Burnus  <burnus@net-b.de>
+
+       * interface.c (gfc_match_end_interface): Constify char pointer
+       to fix warning.
+
 2010-09-24  Steven G. Kargl  < kargl@gcc.gnu.org>
 
-       * fortran/interface.c (gfc_match_end_interface): Deal with user defined
+       * interface.c (gfc_match_end_interface): Deal with user defined
        operators that overload rational operators and C1202.
 
 2010-09-24  Tobias Burnus  <burnus@net-b.de>
index 896ad75..cbe63ca 100644 (file)
@@ -320,7 +320,7 @@ gfc_match_end_interface (void)
            }
          else
            {
-             char *s1, *s2;
+             const char *s1, *s2;
              s1 = gfc_op2string (current_interface.op);
              s2 = gfc_op2string (op);