From ef81bb11dfdff7afbb796420c188d3f8a4657314 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Wed, 15 Nov 2023 10:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=8F=E8=89=B2=E7=AE=97=E6=B3=95=E4=BC=A0?= =?UTF-8?q?=E5=8F=82=E5=A2=9E=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/image_process.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hgdriver/hgdev/image_process.cpp b/hgdriver/hgdev/image_process.cpp index caabc1e..494b35a 100644 --- a/hgdriver/hgdev/image_process.cpp +++ b/hgdriver/hgdev/image_process.cpp @@ -1412,7 +1412,8 @@ namespace hg_imgproc std::vector mats(mats_); mats_.clear(); - CImageApplyColorCastCorrect::PreScheme deviceType = CImageApplyColorCastCorrect::G200; + int tmp = -1; + CImageApplyColorCastCorrect::PreScheme deviceType = (CImageApplyColorCastCorrect::PreScheme)tmp; if (0x300 == pid_) { deviceType = CImageApplyColorCastCorrect::G300_D8;