Skip to content

Commit

Permalink
Fix oversight in static cast
Browse files Browse the repository at this point in the history
  • Loading branch information
rozele committed Mar 29, 2024
1 parent d81d3f1 commit 22dfa33
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ ColorAnimatedNode::ColorAnimatedNode(
}

uint32_t ColorAnimatedNode::GetColor() {
uint8_t r = 0;
uint8_t g = 0;
uint8_t b = 0;
uint8_t a = 0;
uint32_t r = 0;
uint32_t g = 0;
uint32_t b = 0;
uint32_t a = 0;

if (const auto manager = m_manager.lock()) {
if (const auto rNode = manager->GetValueAnimatedNode(m_rNodeId)) {
Expand Down

0 comments on commit 22dfa33

Please sign in to comment.