diff --git a/appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp b/appexecfwk/zlib/actszlibtest/ActsZlibTest.cpp index 8ba8db7bfe8d86aa1ffcb6fc26f6831f7791b002..c8b9bbc8949f0199066fdce95f2013ced8ba4585 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;