From aeffe1056f9ff6526d87a16ef55222899f5528f7 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Wed, 6 Mar 2013 14:04:42 +0000 Subject: 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 --- src/common/memory_range.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/memory_range.h') 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(data); + data_ = reinterpret_cast(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_; -- cgit v1.2.1