aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-23 21:35:52 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-07-23 21:35:52 +0000
commit63c7f7d7d74a2597e748e165004f87315eb7a836 (patch)
tree3804c1bad50dd5582a21042e18f26c909d3d3e4f /src/client/windows
parentIgnore -Wdeprecated-declarations for bootstrap_create_service in (diff)
downloadbreakpad-63c7f7d7d74a2597e748e165004f87315eb7a836.tar.xz
Fix a Windows compiler warning with a cast:
minidump_generator.cc(423) : warning C4267: '=' : conversion from 'size_t' to 'ULONG', possible loss of data Patch by Robert Sesek <rsesek@chromium.org> Review URL: https://breakpad.appspot.com/420002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@994 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows')
-rw-r--r--src/client/windows/crash_generation/minidump_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/crash_generation/minidump_generator.cc b/src/client/windows/crash_generation/minidump_generator.cc
index 34aa8a97..f407ef8c 100644
--- a/src/client/windows/crash_generation/minidump_generator.cc
+++ b/src/client/windows/crash_generation/minidump_generator.cc
@@ -420,7 +420,7 @@ bool MinidumpGenerator::WriteMinidump(HANDLE process_handle,
user_stream_array[user_streams.UserStreamCount].Type =
MD_CUSTOM_DATA_STREAM;
user_stream_array[user_streams.UserStreamCount].BufferSize =
- custom_data_stream->size;
+ static_cast<ULONG>(custom_data_stream->size);
user_stream_array[user_streams.UserStreamCount].Buffer =
custom_data_stream->stream;
++user_streams.UserStreamCount;