Skip to content

Commit fd6d790

Browse files
committed
Build error resolved
1 parent 0bc29b5 commit fd6d790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lighting-app/tizen/src/DBusInterface.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ void DBusInterface::InitColor()
221221
auto status = Clusters::ColorControl::Attributes::ColorMode::Get(mEndpointId, &value);
222222
VerifyOrReturn(status == Protocols::InteractionModel::Status::Success,
223223
ChipLogError(NotSpecified, "Error getting ColorMode: 0x%x", to_underlying(status)));
224-
light_app_color_control_set_color_mode(mIfaceColorControl, value);
224+
light_app_color_control_set_color_mode(mIfaceColorControl, static_cast<guchar>(value));
225225
}
226226
{
227227
uint16_t value = 0;

0 commit comments

Comments
 (0)