[OpenFPGA code] fix bug for clang compatibility

This commit is contained in:
tangxifan 2020-09-14 21:26:53 -06:00
parent b43cd2741d
commit 8b6c8f73e9
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ void read_xml_output_mask(pugi::xml_node& xml_port,
if (circuit_lib.port_size(port) != mask_vector.size()) {
archfpga_throw(loc_data.filename_c_str(), loc_data.line(xml_port),
"Invalid lut_output_mask attribute '%s'! It must match the port size (=%lu)\n",
output_mask_attr, circuit_lib.port_size(port));
output_mask_attr.c_str(), circuit_lib.port_size(port));
}
} else {
/* By default, we give a mask vector covering each pin of the port */