Skip to content

Commit

Permalink
remove unnecessary static cast (#12751)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored and pull[bot] committed May 13, 2022
1 parent f5da388 commit 1051190
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetw
}
}

err = encoder.Encode(static_cast<uint8_t>(routingRole));
err = encoder.Encode(routingRole);
}
break;

Expand Down

0 comments on commit 1051190

Please sign in to comment.