[OpenFPGA code] fix bug for clang compatibility
This commit is contained in:
parent
b43cd2741d
commit
8b6c8f73e9
|
@ -459,7 +459,7 @@ void read_xml_output_mask(pugi::xml_node& xml_port,
|
||||||
if (circuit_lib.port_size(port) != mask_vector.size()) {
|
if (circuit_lib.port_size(port) != mask_vector.size()) {
|
||||||
archfpga_throw(loc_data.filename_c_str(), loc_data.line(xml_port),
|
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",
|
"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 {
|
} else {
|
||||||
/* By default, we give a mask vector covering each pin of the port */
|
/* By default, we give a mask vector covering each pin of the port */
|
||||||
|
|
Loading…
Reference in New Issue