diff --git a/neuralnetworks/1.2/vts/functional/CompilationCachingTests.cpp b/neuralnetworks/1.2/vts/functional/CompilationCachingTests.cpp index 3d783d9aa1..fe38e61c57 100644 --- a/neuralnetworks/1.2/vts/functional/CompilationCachingTests.cpp +++ b/neuralnetworks/1.2/vts/functional/CompilationCachingTests.cpp @@ -1262,7 +1262,7 @@ class CompilationCachingSecurityTest FILE* pFile = fopen(filename.c_str(), "a"); uint32_t appendLength = getRandomInt(1, 256); for (uint32_t i = 0; i < appendLength; i++) { - ASSERT_NE(fputc(getRandomInt(0, 255), pFile), EOF); + ASSERT_NE(fputc(getRandomInt(0, 255), pFile), EOF); } fclose(pFile); *skip = false; diff --git a/neuralnetworks/1.3/vts/functional/CompilationCachingTests.cpp b/neuralnetworks/1.3/vts/functional/CompilationCachingTests.cpp index a2013ecd3a..f2cfa3f3d0 100644 --- a/neuralnetworks/1.3/vts/functional/CompilationCachingTests.cpp +++ b/neuralnetworks/1.3/vts/functional/CompilationCachingTests.cpp @@ -1253,7 +1253,7 @@ class CompilationCachingSecurityTest FILE* pFile = fopen(filename.c_str(), "a"); uint32_t appendLength = getRandomInt(1, 256); for (uint32_t i = 0; i < appendLength; i++) { - ASSERT_NE(fputc(getRandomInt(0, 255), pFile), EOF); + ASSERT_NE(fputc(getRandomInt(0, 255), pFile), EOF); } fclose(pFile); *skip = false; diff --git a/neuralnetworks/aidl/vts/functional/CompilationCachingTests.cpp b/neuralnetworks/aidl/vts/functional/CompilationCachingTests.cpp index 7451f7eec3..da0fe64bab 100644 --- a/neuralnetworks/aidl/vts/functional/CompilationCachingTests.cpp +++ b/neuralnetworks/aidl/vts/functional/CompilationCachingTests.cpp @@ -1068,7 +1068,7 @@ class CompilationCachingSecurityTest FILE* pFile = fopen(filename.c_str(), "a"); uint32_t appendLength = getRandomInt(1, 256); for (uint32_t i = 0; i < appendLength; i++) { - ASSERT_NE(fputc(getRandomInt(0, 255), pFile), EOF); + ASSERT_NE(fputc(getRandomInt(0, 255), pFile), EOF); } fclose(pFile); *skip = false;