diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-03-06 14:04:42 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-03-06 14:04:42 +0000 |
commit | aeffe1056f9ff6526d87a16ef55222899f5528f7 (patch) | |
tree | 1b7601a9135f82c14e73535c9d4a24f94d494662 /src/common/memory_range.h | |
parent | Work around Windows headers #defining ERROR by renaming enum values in StackF... (diff) | |
download | breakpad-aeffe1056f9ff6526d87a16ef55222899f5528f7.tar.xz |
Use stdint types everywhere
R=mark at https://breakpad.appspot.com/535002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1121 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/memory_range.h')
-rw-r--r-- | src/common/memory_range.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/memory_range.h b/src/common/memory_range.h index 86bd08c9..41dd2da6 100644 --- a/src/common/memory_range.h +++ b/src/common/memory_range.h @@ -67,7 +67,7 @@ class MemoryRange { // Sets this memory range to point to |data| and its length to |length|. void Set(const void* data, size_t length) { - data_ = reinterpret_cast<const u_int8_t*>(data); + data_ = reinterpret_cast<const uint8_t*>(data); // Always set |length_| to zero if |data_| is NULL. length_ = data ? length : 0; } @@ -127,14 +127,14 @@ class MemoryRange { } // Returns a pointer to the beginning of this memory range. - const u_int8_t* data() const { return data_; } + const uint8_t* data() const { return data_; } // Returns the length, in bytes, of this memory range. size_t length() const { return length_; } private: // Pointer to the beginning of this memory range. - const u_int8_t* data_; + const uint8_t* data_; // Length, in bytes, of this memory range. size_t length_; |