From ec2b63378e47ac0aba4e0265b63a5cd26e373a32 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 26 五月 2025 18:02:57 +0800
Subject: [PATCH] 1.添加了状态栏;

---
 SourceCode/Bond/Servo/CJobDataA.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/SourceCode/Bond/Servo/CJobDataA.cpp b/SourceCode/Bond/Servo/CJobDataA.cpp
index 03d90ff..cf33400 100644
--- a/SourceCode/Bond/Servo/CJobDataA.cpp
+++ b/SourceCode/Bond/Servo/CJobDataA.cpp
@@ -37,11 +37,11 @@
 		memcpy(&pszBuffer[index], &m_nPortNo, sizeof(short));
 		index += sizeof(short);
 
-		int strLen = min(20, m_strCarrierId.size());
+		int strLen = min(20, (int)m_strCarrierId.size());
 		memcpy(&pszBuffer[index], m_strCarrierId.c_str(), strLen);
 		index += 20;
 
-		strLen = min(20, m_pruductId.size());
+		strLen = min(20, (int)m_pruductId.size());
 		memcpy(&pszBuffer[index], m_pruductId.c_str(), strLen);
 		index += 20;
 
@@ -56,7 +56,7 @@
 
 		for (int i = 0; i < min(25, m_glassIds.size()); i++) {
 			std::string& strGlassId = m_glassIds.at(i);
-			strLen = min(20, strGlassId.size());
+			strLen = min(20, (int)strGlassId.size());
 			memcpy(&pszBuffer[index], strGlassId.c_str(), strLen);
 			index += 20;
 		}

--
Gitblit v1.9.3