* gcc-interface/decl.c (create_concat_name): Add explicit cast.

From-SVN: r180347
This commit is contained in:
Eric Botcazou 2011-10-23 20:21:06 +00:00 committed by Eric Botcazou
parent 0d459eaed8
commit be98aaf0bc
2 changed files with 5 additions and 1 deletions

View 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,

View 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);
}