* gcc-interface/decl.c (create_concat_name): Add explicit cast.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 20:21:06 +0000 (20:21 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Oct 2011 20:21:06 +0000 (20:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180347 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 24d909d..5fa725d 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/decl.c (create_concat_name): Add explicit cast.
+
 2011-10-20  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/Make-lang.in (GNATLIBFLAGS, GNATLIBCFLAGS, THREAD_KIND,
index 81f891f..71a4639 100644 (file)
@@ -8976,7 +8976,7 @@ create_concat_name (Entity_Id gnat_entity, const char *suffix)
 
   if (suffix)
     {
-      String_Template temp = {1, strlen (suffix)};
+      String_Template temp = {1, (int) strlen (suffix)};
       Fat_Pointer fp = {suffix, &temp};
       Get_External_Name_With_Suffix (gnat_entity, fp);
     }