From c23742c7517e70cc39f5f5d0ec35ac39e9e38fb0 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Mon, 14 Sep 2020 20:13:27 -0600 Subject: [PATCH] [OpenFPGA code] fix bug for clang compatibility --- libopenfpga/libopenfpgashell/src/command_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libopenfpga/libopenfpgashell/src/command_parser.cpp b/libopenfpga/libopenfpgashell/src/command_parser.cpp index 5e0397421..b2daf12f7 100644 --- a/libopenfpga/libopenfpgashell/src/command_parser.cpp +++ b/libopenfpga/libopenfpgashell/src/command_parser.cpp @@ -67,7 +67,7 @@ bool parse_command(const std::vector& argv, /* Validate that the command name matches argv[0] */ if (argv[0] != cmd.name()) { VTR_LOG("Unexpected command name '%s'!\n", - argv[0]); + argv[0].c_str()); return false; }