From 550aee8bc7da082bbf9ffa5f5948f3008f0f831f Mon Sep 17 00:00:00 2001 From: fangyunzhong Date: Fri, 29 Dec 2023 14:24:48 +0800 Subject: [PATCH] =?UTF-8?q?native=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangyunzhong --- global/resource_management/include/raw_file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/resource_management/include/raw_file.h b/global/resource_management/include/raw_file.h index c45a947d6..0fb7627fe 100644 --- a/global/resource_management/include/raw_file.h +++ b/global/resource_management/include/raw_file.h @@ -223,7 +223,7 @@ bool OH_ResourceManager_ReleaseRawFileDescriptor(const RawFileDescriptor &descri * @since 11 * @version 1.0 */ -int64_t OH_ResourceManager_ReadRawFile64(const RawFile64 *rawFile, void *buf, size_t length); +int64_t OH_ResourceManager_ReadRawFile64(const RawFile64 *rawFile, void *buf, int64_t length); /** * @brief Uses the 64-bit data type to seek a data read position based on the specified offset within a raw file. @@ -239,7 +239,7 @@ int64_t OH_ResourceManager_ReadRawFile64(const RawFile64 *rawFile, void *buf, si * @since 11 * @version 1.0 */ -int OH_ResourceManager_SeekRawFile64(const RawFile64 *rawFile, long offset, int whence); +int OH_ResourceManager_SeekRawFile64(const RawFile64 *rawFile, int64_t offset, int whence); /** * @brief Obtains the raw file length represented by an int64_t. -- Gitee