diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-03-24 11:25:14 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-03-24 11:25:14 +0000 |
commit | 48b9a40539689743bacbe20df01182b0c367c2c0 (patch) | |
tree | d354728b8b9bf838d2c6b83ae22f59aa5c65e7e7 /src/client/linux/handler/exception_handler_unittest.cc | |
parent | Fix compatibility with Android NDK r10d. (diff) | |
download | breakpad-48b9a40539689743bacbe20df01182b0c367c2c0.tar.xz |
Fix compilation with gcc --std=c++11
Patch by Jon Turney <jon.turney.1111@gmail.com>
R=ted at https://breakpad.appspot.com/7824002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1435 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/linux/handler/exception_handler_unittest.cc')
-rw-r--r-- | src/client/linux/handler/exception_handler_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc index fc81f61f..6deea55b 100644 --- a/src/client/linux/handler/exception_handler_unittest.cc +++ b/src/client/linux/handler/exception_handler_unittest.cc @@ -955,7 +955,7 @@ TEST(ExceptionHandlerTest, ExternalDumper) { const ssize_t n = HANDLE_EINTR(recvmsg(fds[0], &msg, 0)); ASSERT_EQ(static_cast<ssize_t>(kCrashContextSize), n); ASSERT_EQ(kControlMsgSize, msg.msg_controllen); - ASSERT_EQ(static_cast<typeof(msg.msg_flags)>(0), msg.msg_flags); + ASSERT_EQ(static_cast<__typeof__(msg.msg_flags)>(0), msg.msg_flags); ASSERT_EQ(0, close(fds[0])); pid_t crashing_pid = -1; |