From baadbfd4c17e58cb6b8d7a3f47114702e05f2c28 Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Tue, 5 Aug 2025 08:02:36 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4write=5Fani=E4=B8=AD=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangbiao59 --- interfaces/kits/js/src/mod_fs/properties/ani/write_ani.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/ani/write_ani.cpp b/interfaces/kits/js/src/mod_fs/properties/ani/write_ani.cpp index 16bdf6655..8d22cebf0 100644 --- a/interfaces/kits/js/src/mod_fs/properties/ani/write_ani.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/ani/write_ani.cpp @@ -113,7 +113,7 @@ ani_long WriteAni::WriteSync( ErrorHandler::Throw(env, EINVAL); return -1; } - auto ret = WriteCore::DoWrite(static_cast(fd), buffer, op); + auto ret = WriteCore::DoWrite(fd, buffer, op); if (!ret.IsSuccess()) { HILOGE("Write buffer failed!"); const auto &err = ret.GetError(); -- Gitee