From 42a0e90fe873850763b9a0c65ae16ce5138029f2 Mon Sep 17 00:00:00 2001 From: fangyunzhong Date: Mon, 11 Mar 2024 21:56:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E6=9C=80=E5=A4=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E6=A8=A1=E5=9D=97=E6=95=B0=E9=87=8F=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangyunzhong --- src/id_defined_parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/id_defined_parser.cpp b/src/id_defined_parser.cpp index 129cd4c..a6b765b 100755 --- a/src/id_defined_parser.cpp +++ b/src/id_defined_parser.cpp @@ -192,9 +192,8 @@ bool IdDefinedParser::ParseId(const cJSON *origId, ResourceId &resourceId) } int32_t id = strtol(idStr.c_str(), nullptr, 16); if (id < 0x01000000 || (id >= 0x06FFFFFF && id < 0x08000000) || id >= 0x41FFFFFF) { - cerr << "Error: id_defined.json seq = "<< resourceId.seq; + cerr << "Warning: id_defined.json seq = "<< resourceId.seq; cerr << " id must in [0x01000000,0x06FFFFFF),[0x08000000,0x41FFFFFF)." << endl; - return false; } resourceId.id = id; return true;