From e6c068909146fef50916841772d91b0ac1e8512a Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 11 Aug 2011 13:45:30 +0000 Subject: The first field in a MDLocationDescriptor is a u_int32_t, so change this cast to the correct type. This fixes an error newer clang versions find in c++ 0x mode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Rafael Ávila de Espí­ndola https://bugzilla.mozilla.org/show_bug.cgi?id=677641 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@824 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/minidump_file_writer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/minidump_file_writer.h') diff --git a/src/client/minidump_file_writer.h b/src/client/minidump_file_writer.h index cded3585..21d4ce68 100644 --- a/src/client/minidump_file_writer.h +++ b/src/client/minidump_file_writer.h @@ -151,7 +151,8 @@ class UntypedMDRVA { // Return size and position inline MDLocationDescriptor location() const { - MDLocationDescriptor location = { static_cast(size_), position_ }; + MDLocationDescriptor location = { static_cast(size_), + position_ }; return location; } -- cgit v1.2.1