From 4ef6eb1e728df2cdeb03946238ed8b9943744ccf Mon Sep 17 00:00:00 2001 From: r00559040 Date: Thu, 24 Mar 2022 15:49:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E6=BA=90=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: r00559040 --- appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp b/appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp index 8ba8db7bf..c8b9bbc89 100644 --- a/appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp +++ b/appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp @@ -1151,7 +1151,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestGzRewind, Function | MediumTest | Level2) */ HWTEST_F(ActsZlibTest, ActsZlibTestGzseek, Function | MediumTest | Level2) { - int64_t err = 0L; + long err = 0L; gzFile file; file = gzopen(TESTFILE, "wb"); ASSERT_TRUE(file != NULL); @@ -1331,7 +1331,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestInflateCodesUsed, Function | MediumTest | Lev compr = static_cast(calloc(static_cast(comprLen), CALLOC_SIZE)); uncompr = static_cast(calloc(static_cast(uncomprLen), CALLOC_SIZE)); ASSERT_TRUE(compr != Z_NULL && uncompr != Z_NULL); - unsigned uint64_t err; + unsigned long err; z_stream d_stream; /* decompression stream */ strcpy(reinterpret_cast(uncompr), GARBAGE); d_stream.zalloc = nullptr; -- GitLab