diff --git a/src/BasicChannel.cpp b/src/BasicChannel.cpp index 84dbbda..e7df9dc 100644 --- a/src/BasicChannel.cpp +++ b/src/BasicChannel.cpp @@ -66,10 +66,10 @@ std::vector BasicChannel::update_properties_from_pe } /* update the channel talk power */ { - permission::PermissionValue talk_power = 0; + permission::PermissionValue talk_power{0}; auto& permission_tp_flags = permission_manager->permission_flags(permission::i_client_needed_talk_power); if(permission_tp_flags.value_set) - talk_power = (IconId) permission_manager->permission_values(permission::i_client_needed_talk_power).value; + talk_power = permission_manager->permission_values(permission::i_client_needed_talk_power).value; if(this->properties()[property::CHANNEL_NEEDED_TALK_POWER] != talk_power) { this->properties()[property::CHANNEL_NEEDED_TALK_POWER] = talk_power; result.push_back(property::CHANNEL_NEEDED_TALK_POWER);