Skip to content

Commit 855abff

Browse files
committed
[lib][arch] fix clag warning by passing string as c_str
1 parent 19452e9 commit 855abff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libarchfpga/src/read_xml_arch_file_vib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ static void process_vib_block_type_locs(t_vib_grid_def& grid_def,
463463
loc_defs.push_back(std::move(region_def));
464464
} else {
465465
archfpga_throw(loc_data.filename_c_str(), loc_data.line(loc_spec_tag),
466-
"Unrecognized grid location specification type '%s'\n", loc_type);
466+
"Unrecognized grid location specification type '%s'\n", loc_type.c_str());
467467
}
468468
}
469469
}

0 commit comments

Comments
 (0)