* compress.c (bfd_debug_name_to_zdebug): Fix C++ compile error.
(bfd_zdebug_name_to_debug): Likewise.
* bfd-in2.h: Regenerate.
bfd_debug_name_to_zdebug (bfd *abfd, const char *name)
{
size_t len = strlen (name);
- char *new_name = bfd_alloc (abfd, len + 2);
+ char *new_name = (char *) bfd_alloc (abfd, len + 2);
if (new_name == NULL)
return NULL;
new_name[0] = '.';
bfd_zdebug_name_to_debug (bfd *abfd, const char *name)
{
size_t len = strlen (name);
- char *new_name = bfd_alloc (abfd, len);
+ char *new_name = (char *) bfd_alloc (abfd, len);
if (new_name == NULL)
return NULL;
new_name[0] = '.';
.bfd_debug_name_to_zdebug (bfd *abfd, const char *name)
.{
. size_t len = strlen (name);
-. char *new_name = bfd_alloc (abfd, len + 2);
+. char *new_name = (char *) bfd_alloc (abfd, len + 2);
. if (new_name == NULL)
. return NULL;
. new_name[0] = '.';
.bfd_zdebug_name_to_debug (bfd *abfd, const char *name)
.{
. size_t len = strlen (name);
-. char *new_name = bfd_alloc (abfd, len);
+. char *new_name = (char *) bfd_alloc (abfd, len);
. if (new_name == NULL)
. return NULL;
. new_name[0] = '.';