Skip to content

Commit 2370f90

Browse files
Update packages/react-native-executorch/common/rnexecutorch/utils/FrameProcessor.cpp
Co-authored-by: Jakub Chmura <92989966+chmjkb@users.noreply.github.com>
1 parent 507178d commit 2370f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-executorch/common/rnexecutorch/utils/FrameProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ cv::Mat pixelsToMat(const JSTensorViewIn &pixelData) {
6969
"Invalid pixel data: scalarType must be BYTE (Uint8Array)");
7070
}
7171

72-
uint8_t *dataPtr = static_cast<uint8_t *>(pixelData.dataPtr);
72+
auto *dataPtr = static_cast<uint8_t *>(pixelData.dataPtr);
7373
return cv::Mat(height, width, CV_8UC3, dataPtr);
7474
}
7575

0 commit comments

Comments
 (0)