From 59798831c0eb4d9f3847c4a0f259e62421a87d8c Mon Sep 17 00:00:00 2001 From: xuezhou_yan Date: Sat, 21 Sep 2024 17:42:46 +0800 Subject: [PATCH] =?UTF-8?q?#issue:IASQ00=20=E5=AE=89=E5=85=A8=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuezhou_yan --- src/context_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context_tool.c b/src/context_tool.c index e75f853..bb243ef 100644 --- a/src/context_tool.c +++ b/src/context_tool.c @@ -98,7 +98,7 @@ int32_t CheckFileAndGetFileContext(const char *inputFile, char **contextBufPtr, PRINT_ERR("input file is NULL.\n"); return -1; } - uint32_t ret = GetFileContext(inputFile, contextBufPtr, bufferLen); + int32_t ret = GetFileContext(inputFile, contextBufPtr, bufferLen); if (ret != 0) { PRINT_ERR("GetFileContext failed, input file : %s\n", inputFile); } -- Gitee