aboutsummaryrefslogtreecommitdiff
path: root/src/client/minidump_file_writer.h
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-31 19:44:52 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-31 19:44:52 +0000
commit2e0e2234b9e9d7d82c4c3c20396bdf8f18007e6c (patch)
treec6c1c415720fcaffed1f224b4e1fda7c86267565 /src/client/minidump_file_writer.h
parentCheck allocation and array sizes in minidump.cc (#12). r=bryner (diff)
downloadbreakpad-2e0e2234b9e9d7d82c4c3c20396bdf8f18007e6c.tar.xz
Allow building with -pedantic (#186). r=ted.mielczarek
http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/6aa39d7f0ffa3c42 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@183 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/minidump_file_writer.h')
-rw-r--r--src/client/minidump_file_writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/minidump_file_writer.h b/src/client/minidump_file_writer.h
index 39fc90b8..f569a553 100644
--- a/src/client/minidump_file_writer.h
+++ b/src/client/minidump_file_writer.h
@@ -200,12 +200,12 @@ class TypedMDRVA : public UntypedMDRVA {
// alter its contents.
MDType *get() { return &data_; }
- // Allocates sizeof(MDType) bytes.
+ // Allocates minidump_size<MDType>::size() bytes.
// Must not call more than once.
// Return true on success, or false on failure
bool Allocate();
- // Allocates sizeof(MDType) + |additional| bytes.
+ // Allocates minidump_size<MDType>::size() + |additional| bytes.
// Must not call more than once.
// Return true on success, or false on failure
bool Allocate(size_t additional);