Skip to content

Commit

Permalink
Fix build error for Linux configure build of all-clusters-app
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Jul 26, 2024
1 parent dfe9f7c commit 3dad3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/thermostat-server/thermostat-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ uint8_t CountUpdatedPresetsAfterApplyingPendingPresets(Delegate * delegate)
numberOfPendingPresets++;
}

return numberOfPresets + numberOfPendingPresets - numberOfMatches;
return static_cast<uint8_t>(numberOfPresets + numberOfPendingPresets - numberOfMatches);
}

/**
Expand Down

0 comments on commit 3dad3f3

Please sign in to comment.