Skip to content

Commit 1d96974

Browse files
committed
[Tool] Patch to remove compiler warnings
1 parent 9b5c64f commit 1d96974

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
@@ -1963,7 +1963,7 @@ static void ProcessMode(pugi::xml_node Parent, t_mode* mode, const bool timing_e
19631963
mode->packable = mode->parent_pb_type->parent_mode->packable;
19641964
}
19651965
/* Override if user specify */
1966-
mode->packable = ~get_attribute(Parent, "disable_packing", loc_data, ReqOpt::OPTIONAL).as_bool(~mode->packable);
1966+
mode->packable = !get_attribute(Parent, "disable_packing", loc_data, ReqOpt::OPTIONAL).as_bool(!mode->packable);
19671967
if (false == mode->packable) {
19681968
VTR_LOG("mode '%s[%s]' is disabled in packing by user\n",
19691969
mode->parent_pb_type->name,

0 commit comments

Comments
 (0)