mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* buildsym.c (start_subfile): Properly cast sentinel in concat
call. * cp-name-parser.y: Include "config.h". * xml-tdesc.c (fetch_xml_from_file): Properly cast sentinel in concat call. * gdb_select.h: Include sys/time.h if sys/select.h is not available.
This commit is contained in:
@@ -443,7 +443,7 @@ fetch_xml_from_file (const char *filename, void *baton)
|
||||
|
||||
if (dirname && *dirname)
|
||||
{
|
||||
char *fullname = concat (dirname, "/", filename, NULL);
|
||||
char *fullname = concat (dirname, "/", filename, (char *) NULL);
|
||||
if (fullname == NULL)
|
||||
nomem (0);
|
||||
file = fopen (fullname, FOPEN_RT);
|
||||
|
||||
Reference in New Issue
Block a user