diff --git a/misc/bazel/internal/zipmerge/zipmerge_test.cpp b/misc/bazel/internal/zipmerge/zipmerge_test.cpp index 616365c7cbdb..f8477055e9f7 100644 --- a/misc/bazel/internal/zipmerge/zipmerge_test.cpp +++ b/misc/bazel/internal/zipmerge/zipmerge_test.cpp @@ -60,7 +60,7 @@ std::string read_file(const std::string& filename) { std::ifstream f(filename, std::ios::binary); EXPECT_TRUE(f) << "Could not open '" << filename << "' (" << std::strerror(errno) << ")"; if (!f) { - return 0; + return ""; } std::stringstream contents; contents << f.rdbuf();