diff options
Diffstat (limited to 'gdb/charset.c')
-rw-r--r-- | gdb/charset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/charset.c b/gdb/charset.c index 5cfd2d8..4e459c2 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -818,7 +818,8 @@ find_charset_names (void) { std::string iconv_dir = relocate_gdb_directory (ICONV_BIN, ICONV_BIN_RELOCATABLE); - iconv_program = concat (iconv_dir.c_str(), SLASH_STRING, "iconv", NULL); + iconv_program + = concat (iconv_dir.c_str(), SLASH_STRING, "iconv", (char *) NULL); } #else iconv_program = xstrdup ("iconv"); |