From b904343e14b3303f3dc61b0c1e039d33ac159843 Mon Sep 17 00:00:00 2001 From: mmentovai Date: Mon, 24 Jan 2011 19:20:10 +0000 Subject: Fix clang warning / miscompile. Patch by Nico Weber Review URL: http://breakpad.appspot.com/256001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@760 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/linux/handler/exception_handler_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc index 67c05f6b..7186db9f 100644 --- a/src/client/linux/handler/exception_handler_unittest.cc +++ b/src/client/linux/handler/exception_handler_unittest.cc @@ -107,7 +107,7 @@ TEST(ExceptionHandlerTest, ChildCrash) { close(fds[0]); ExceptionHandler handler(TEMPDIR, NULL, DoneCallback, (void*) fds[1], true); - *reinterpret_cast(NULL) = 0; + *reinterpret_cast(NULL) = 0; } close(fds[1]); @@ -714,7 +714,7 @@ TEST(ExceptionHandlerTest, ExternalDumper) { close(fds[0]); ExceptionHandler handler("/tmp1", NULL, NULL, (void*) fds[1], true); handler.set_crash_handler(CrashHandler); - *reinterpret_cast(NULL) = 0; + *reinterpret_cast(NULL) = 0; } close(fds[1]); struct msghdr msg = {0}; -- cgit v1.2.1