From 68b256aed31bbd6d01caf3be7de7911d3d02f5eb Mon Sep 17 00:00:00 2001 From: "jessicag.feedback@gmail.com" Date: Thu, 3 Mar 2011 00:42:11 +0000 Subject: Updating to ints from unsigned ints so -1 will be an acceptable value. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@777 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/linux/minidump_writer/minidump_writer.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client/linux/minidump_writer/minidump_writer.cc') diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc index 3eb90953..10084ac4 100644 --- a/src/client/linux/minidump_writer/minidump_writer.cc +++ b/src/client/linux/minidump_writer/minidump_writer.cc @@ -820,10 +820,9 @@ class MinidumpWriter { // Fill the MDRawModule |mod| with information about the provided // |mapping|. If |identifier| is non-NULL, use it instead of calculating - // a file ID from the mapping. |mapping_id| can be -1 if this mapping - // is not from the LinuxDumper. + // a file ID from the mapping. |mapping_id| can be -1. bool FillRawModule(const MappingInfo& mapping, - unsigned int mapping_id, + int mapping_id, MDRawModule& mod, const u_int8_t* identifier) { my_memset(&mod, 0, MD_MODULE_SIZE); -- cgit v1.2.1