summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 22:24:43 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 22:24:43 +0000
commitfe474ed7f9eee2c666a3be32336c359c67d40fc4 (patch)
tree8f0ac8dd1eb460d7d48397a5708f34f8ed8e46d7 /breakpad
parent89eca17fd5af241a12532ba6f714cb37424c55a4 (diff)
downloadchromium_src-fe474ed7f9eee2c666a3be32336c359c67d40fc4.zip
chromium_src-fe474ed7f9eee2c666a3be32336c359c67d40fc4.tar.gz
chromium_src-fe474ed7f9eee2c666a3be32336c359c67d40fc4.tar.bz2
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
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/linux/exception_handler_unittest.cc4
1 files changed, 2 insertions, 2 deletions
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);