summaryrefslogtreecommitdiff
path: root/absl/log
diff options
context:
space:
mode:
Diffstat (limited to 'absl/log')
-rw-r--r--absl/log/stripping_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/log/stripping_test.cc b/absl/log/stripping_test.cc
index f37a0c55..83dfc2dc 100644
--- a/absl/log/stripping_test.cc
+++ b/absl/log/stripping_test.cc
@@ -215,7 +215,8 @@ class StrippingTest : public ::testing::Test {
#elif defined(_WIN32)
std::basic_string<TCHAR> path(4096, _T('\0'));
while (true) {
- const uint32_t ret = ::GetModuleFileName(nullptr, &path[0], path.size());
+ const uint32_t ret = ::GetModuleFileName(nullptr, &path[0],
+ static_cast<DWORD>(path.size()));
if (ret == 0) {
absl::FPrintF(
stderr,