xplat/js/react-native-github/packages/react-native/Libraries/TypeSafety/RCTConvertHelpers.h (#58263)

Summary: Pull Request resolved: https://github.com/react/react-native/pull/58263

Reviewed By: GauravKataria

Differential Revision: D115689053

fbshipit-source-id: c93ce5eb243ea8df001f7cfd4eb53759278728a6
This commit is contained in:
generatedunixname1935118710411188 authored and meta-codesync[bot] committed 2026-09-02 02:23:37 -07:00
1 parent e54aea474f
commit 1b404433f8
1 file changed
+1 -1
@@ -68,7 +68,7 @@ facebook::react::LazyVector<T> RCTBridgingToVec(id value, T (^ctor)(id element))
{
NSArray *array = RCTBridgingToArray(value);
using _size_t = typename facebook::react::LazyVector<T>::size_type;
_size_t size = static_cast<_size_t>(array.count);
auto size = static_cast<_size_t>(array.count);
return facebook::react::LazyVector<T>::fromUnsafeRawValue(array, size, ctor);
}