[OpenFPGA code] fix bug for clang compatibility

This commit is contained in:
tangxifan 2020-09-14 20:13:27 -06:00
parent fc6bfdc7a2
commit c23742c751
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ bool parse_command(const std::vector<std::string>& argv,
/* Validate that the command name matches argv[0] */ /* Validate that the command name matches argv[0] */
if (argv[0] != cmd.name()) { if (argv[0] != cmd.name()) {
VTR_LOG("Unexpected command name '%s'!\n", VTR_LOG("Unexpected command name '%s'!\n",
argv[0]); argv[0].c_str());
return false; return false;
} }