diff options
author | sonnyrao@chromium.org <sonnyrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-29 02:43:13 +0000 |
---|---|---|
committer | sonnyrao@chromium.org <sonnyrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-29 02:43:13 +0000 |
commit | d84b5e58644fdd4556d29354aa99699d86dd0f0e (patch) | |
tree | 7b04fa64f187270920834e8bae1868d0dc50b4c9 /chrome/app/breakpad_linux.cc | |
parent | c1b079077aa6e5259b1067fb2ca7d81f4b7a865d (diff) | |
download | chromium_src-d84b5e58644fdd4556d29354aa99699d86dd0f0e.zip chromium_src-d84b5e58644fdd4556d29354aa99699d86dd0f0e.tar.gz chromium_src-d84b5e58644fdd4556d29354aa99699d86dd0f0e.tar.bz2 |
Fix 64bit ChromeOS build
sizeof(int) != sizeof(void*) so use another ugly cast to make it so
BUG=chromium:108725
TEST=build chrome 64bit ChromeOS with internal use flag enabled
Change-Id: Ie60b136ef7ccd8e9f6a41cd53bffaa679cf8eb0f
Review URL: http://codereview.chromium.org/9006049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r-- | chrome/app/breakpad_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc index 720dc75..26221a3 100644 --- a/chrome/app/breakpad_linux.cc +++ b/chrome/app/breakpad_linux.cc @@ -877,7 +877,7 @@ void EnableNonBrowserCrashDumping() { // We deliberately leak this object. google_breakpad::ExceptionHandler* handler = new google_breakpad::ExceptionHandler("" /* unused */, NULL, NULL, - (void*) fd, true); + reinterpret_cast<void*>(fd), true); handler->set_crash_handler(NonBrowserCrashHandler); } |