diff options
author | waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-05-19 00:41:39 +0000 |
---|---|---|
committer | waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-05-19 00:41:39 +0000 |
commit | 32d40647362a014f2184a6f4d2c8e0453eb8f655 (patch) | |
tree | 07834ee053dabf0e14db5b481224a2ee2a2a609e /src/client/minidump_file_writer-inl.h | |
parent | Add logging to minidump processor (#82). First part: logging infrastructure (diff) | |
download | breakpad-32d40647362a014f2184a6f4d2c8e0453eb8f655.tar.xz |
- Add const keyword / casting to supress more stringient compiler warnings
- Move DynamicImage::Print() from dynamic_images.h to dynamic_images.cc
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@170 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/minidump_file_writer-inl.h')
-rw-r--r-- | src/client/minidump_file_writer-inl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/minidump_file_writer-inl.h b/src/client/minidump_file_writer-inl.h index 98958be0..4505b4f2 100644 --- a/src/client/minidump_file_writer-inl.h +++ b/src/client/minidump_file_writer-inl.h @@ -76,7 +76,8 @@ inline bool TypedMDRVA<MDType>::CopyIndex(unsigned int index, MDType *item) { template<typename MDType> inline bool TypedMDRVA<MDType>::CopyIndexAfterObject(unsigned int index, - void *src, size_t size) { + const void *src, + size_t size) { assert(allocation_state_ == SINGLE_OBJECT_WITH_ARRAY); return writer_->Copy(position_ + sizeof(MDType) + index * size, src, size); } |