From 654af71fcd267a66e0892dad7595c8930526ac54 Mon Sep 17 00:00:00 2001 From: huangjie Date: Fri, 25 Mar 2022 14:47:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3raw=5Ffile.h=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B5=84=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huangjie --- en/native_sdk/resmgr/raw_file.h | 2 +- zh-cn/native_sdk/resmgr/raw_file.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/native_sdk/resmgr/raw_file.h b/en/native_sdk/resmgr/raw_file.h index 7b4de7a9..37fc4849 100644 --- a/en/native_sdk/resmgr/raw_file.h +++ b/en/native_sdk/resmgr/raw_file.h @@ -88,7 +88,7 @@ typedef struct { * @since 8 * @version 1.0 */ -int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, int length); +int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, size_t length); /** * @brief Seeks for the data read/write position in the rawfile based on the specified offset. diff --git a/zh-cn/native_sdk/resmgr/raw_file.h b/zh-cn/native_sdk/resmgr/raw_file.h index 4d7bdf90..f817c2e5 100644 --- a/zh-cn/native_sdk/resmgr/raw_file.h +++ b/zh-cn/native_sdk/resmgr/raw_file.h @@ -88,7 +88,7 @@ typedef struct { * @since 8 * @version 1.0 */ -int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, int length); +int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, size_t length); /** * @brief 基于指定的offset,在rawfile文件内搜索读写数据的位置 -- Gitee