* dlltool.c (identify_search_section): Cast argument, not return
value, of xstrdup to 'char*'.
This commit is contained in:
parent
23965a5aa6
commit
9b91d2fc93
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
|
||||||
|
|
||||||
|
* dlltool.c (identify_search_section): Cast argument, not return
|
||||||
|
value, of xstrdup to 'char*'.
|
||||||
|
|
||||||
2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
|
2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
|
||||||
|
|
||||||
Added --identify option to dlltool.
|
Added --identify option to dlltool.
|
||||||
|
|
|
@ -3106,7 +3106,7 @@ identify_search_section (bfd *abfd, asection *section, void *dummy ATTRIBUTE_UNU
|
||||||
free (identify_dll_name);
|
free (identify_dll_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
identify_dll_name = (char*) xstrdup (data);
|
identify_dll_name = xstrdup ((char*) data);
|
||||||
}
|
}
|
||||||
|
|
||||||
free (data);
|
free (data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue