From fe474ed7f9eee2c666a3be32336c359c67d40fc4 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Fri, 21 Aug 2009 22:24:43 +0000 Subject: Updates to be able to build all targets in Linux x64. Review URL: http://codereview.chromium.org/174261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24029 0039d316-1c4b-4281-b951-d872f2087c98 --- breakpad/linux/exception_handler_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'breakpad') diff --git a/breakpad/linux/exception_handler_unittest.cc b/breakpad/linux/exception_handler_unittest.cc index 87eebf5..f11cfdf 100644 --- a/breakpad/linux/exception_handler_unittest.cc +++ b/breakpad/linux/exception_handler_unittest.cc @@ -75,7 +75,7 @@ static bool DoneCallback(const char* dump_path, if (!succeeded) return succeeded; - int fd = (int) context; + int fd = (intptr_t) context; uint32_t len = my_strlen(minidump_id); HANDLE_EINTR(sys_write(fd, &len, sizeof(len))); HANDLE_EINTR(sys_write(fd, minidump_id, len)); @@ -134,7 +134,7 @@ static const unsigned kControlMsgSize = static bool CrashHandler(const void* crash_context, size_t crash_context_size, void* context) { - const int fd = (int) context; + const int fd = (intptr_t) context; int fds[2]; pipe(fds); -- cgit v1.1