Skip to content

Commit 22dfa33

Browse files
committed
Fix oversight in static cast
1 parent d81d3f1 commit 22dfa33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vnext/Microsoft.ReactNative/Modules/Animated/ColorAnimatedNode.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ ColorAnimatedNode::ColorAnimatedNode(
2828
}
2929

3030
uint32_t ColorAnimatedNode::GetColor() {
31-
uint8_t r = 0;
32-
uint8_t g = 0;
33-
uint8_t b = 0;
34-
uint8_t a = 0;
31+
uint32_t r = 0;
32+
uint32_t g = 0;
33+
uint32_t b = 0;
34+
uint32_t a = 0;
3535

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

0 commit comments

Comments
 (0)