aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/unittests/exception_handler_test.cc
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2017-08-28 10:26:23 +0300
committerMike Frysinger <vapier@chromium.org>2017-09-25 07:10:11 +0000
commit09df67311f4621cc7504e2281d90241e7605a278 (patch)
treefa07ee0ec531bc0c5a830fc556f6048d42ba509f /src/client/windows/unittests/exception_handler_test.cc
parentRefresh refresh_binaries.bat (diff)
downloadbreakpad-09df67311f4621cc7504e2281d90241e7605a278.tar.xz
Fix MSVC build on 64-bit
Mostly int<->size_t implicit conversions. Warning 4366 (The result of the unary '&' operator may be unaligned) appears in minidump.cc:907, but I don't know why. It looks aligned to me. Change-Id: I641942adc324f8f9832b20662083dc83498688a8 Reviewed-on: https://chromium-review.googlesource.com/637390 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'src/client/windows/unittests/exception_handler_test.cc')
-rw-r--r--src/client/windows/unittests/exception_handler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/unittests/exception_handler_test.cc b/src/client/windows/unittests/exception_handler_test.cc
index 0e8ee9ff..a4ce12a8 100644
--- a/src/client/windows/unittests/exception_handler_test.cc
+++ b/src/client/windows/unittests/exception_handler_test.cc
@@ -120,7 +120,7 @@ void ExceptionHandlerTest::SetUp() {
// THe test case name is exposed to use as a c-style string,
// But we might be working in UNICODE here on Windows.
int dwRet = MultiByteToWideChar(CP_ACP, 0, test_info->name(),
- strlen(test_info->name()),
+ static_cast<int>(strlen(test_info->name())),
test_name_wide,
MAX_PATH);
if (!dwRet) {