Skip to content

Commit 2fae648

Browse files
committed
Update packages/react-native-executorch/common/rnexecutorch/data_processing/ImageProcessing.cpp
1 parent d62b45c commit 2fae648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-executorch/common/rnexecutorch/data_processing/ImageProcessing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace fs = std::filesystem;
2121
static std::vector<float> convertColorMatToVector(const cv::Mat &mat,
2222
cv::Scalar mean,
2323
cv::Scalar variance) {
24-
constexpr auto kNumChannels = 3;
24+
constexpr size_t kNumChannels = 3;
2525
constexpr auto kMaxPixelValueFloat = 255.0F;
2626

2727
int pixelCount = mat.cols * mat.rows;

0 commit comments

Comments
 (0)