mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-09-14 23:37:11 +00:00
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
This commit is contained in:
parent
5d8db68b51
commit
63c7f7d7d7
|
@ -420,7 +420,7 @@ bool MinidumpGenerator::WriteMinidump(HANDLE process_handle,
|
||||||
user_stream_array[user_streams.UserStreamCount].Type =
|
user_stream_array[user_streams.UserStreamCount].Type =
|
||||||
MD_CUSTOM_DATA_STREAM;
|
MD_CUSTOM_DATA_STREAM;
|
||||||
user_stream_array[user_streams.UserStreamCount].BufferSize =
|
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 =
|
user_stream_array[user_streams.UserStreamCount].Buffer =
|
||||||
custom_data_stream->stream;
|
custom_data_stream->stream;
|
||||||
++user_streams.UserStreamCount;
|
++user_streams.UserStreamCount;
|
||||||
|
|
Loading…
Reference in a new issue