Skip to content

Commit d0f15b1

Browse files
committed
[lib] syntax
1 parent fee1e52 commit d0f15b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ static std::pair<int, int> ProcessInstanceString(pugi::xml_node Locations,
765765
int token_index = 0;
766766
auto token = tokens[token_index];
767767

768-
if (token.type != TOKEN_STRING || 0 != strcmp(token.data, type->name)) {
768+
if (token.type != TOKEN_STRING || 0 != strcmp(token.data, type->name.c_str())) {
769769
archfpga_throw(loc_data.filename_c_str(), loc_data.line(Locations),
770770
"Wrong physical type name of the port: %s\n", pin_loc_string);
771771
}

0 commit comments

Comments
 (0)