Skip to content

Commit

Permalink
Add static cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsun-yoo committed Sep 1, 2024
1 parent fe1c577 commit d3be8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feeder/et_feeder_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ETFeederNode::ETFeederNode(std::shared_ptr<ChakraProtoMsg::Node> node) {
} else if (attr_name == "comm_priority") {
this->comm_priority_ = static_cast<uint32_t>(attr.int32_val());
} else if (attr_name == "comm_size") {
this->comm_size_ = attr.int64_val();
this->comm_size_ = static_cast<uint64_t>(attr.int64_val());
} else if (attr_name == "comm_src") {
this->comm_src_ = static_cast<uint32_t>(attr.int32_val());
} else if (attr_name == "comm_dst") {
Expand Down

0 comments on commit d3be8a4

Please sign in to comment.