From 22dfa338e667bd4ecd8cb2b18dbe45ef47212194 Mon Sep 17 00:00:00 2001 From: Eric Rozell Date: Fri, 29 Mar 2024 11:53:24 -0400 Subject: [PATCH] Fix oversight in static cast --- .../Modules/Animated/ColorAnimatedNode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vnext/Microsoft.ReactNative/Modules/Animated/ColorAnimatedNode.cpp b/vnext/Microsoft.ReactNative/Modules/Animated/ColorAnimatedNode.cpp index 0272b2498e0..ec5f080ecc6 100644 --- a/vnext/Microsoft.ReactNative/Modules/Animated/ColorAnimatedNode.cpp +++ b/vnext/Microsoft.ReactNative/Modules/Animated/ColorAnimatedNode.cpp @@ -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)) {