From f0b703c42a7fb83637e8e3968753f91f85e5c7a4 Mon Sep 17 00:00:00 2001 From: tianp Date: Mon, 4 Aug 2025 15:25:13 +0800 Subject: [PATCH] =?UTF-8?q?randomaccessfile=E7=B1=BBparsearraybuf=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tianp Change-Id: I3b433046b20b96995ea68b606e2b17f068d3feb6 --- .../mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp b/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp index f3172480b..b452725ab 100644 --- a/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp +++ b/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ani/randomaccessfile_ani.cpp @@ -130,6 +130,7 @@ static tuple ParseArrayBuffer(ani_env *env, const ani_obj if (!isArrayBuffer) { return { false, {} }; } + auto result = static_cast(buf); return { true, move(result) }; } -- Gitee