aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/minidump_file_writer.h3
1 files changed, 2 insertions, 1 deletions
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<int>(size_), position_ };
+ MDLocationDescriptor location = { static_cast<u_int32_t>(size_),
+ position_ };
return location;
}