Index: sandbox/win/src/internal_types.h |
diff --git a/sandbox/win/src/internal_types.h b/sandbox/win/src/internal_types.h |
index 026bedb06422f0e416e54e58c67944d2f8ff3e66..e1028189d8057916478e41f4074ae88b883f4fa2 100644 |
--- a/sandbox/win/src/internal_types.h |
+++ b/sandbox/win/src/internal_types.h |
@@ -5,6 +5,8 @@ |
#ifndef SANDBOX_WIN_SRC_INTERNAL_TYPES_H_ |
#define SANDBOX_WIN_SRC_INTERNAL_TYPES_H_ |
+#include <stdint.h> |
+ |
namespace sandbox { |
const wchar_t kNtdllName[] = L"ntdll.dll"; |
@@ -28,18 +30,16 @@ enum ArgType { |
// Encapsulates a pointer to a buffer and the size of the buffer. |
class CountedBuffer { |
public: |
- CountedBuffer(void* buffer, uint32 size) : size_(size), buffer_(buffer) {} |
+ CountedBuffer(void* buffer, uint32_t size) : size_(size), buffer_(buffer) {} |
- uint32 Size() const { |
- return size_; |
- } |
+ uint32_t Size() const { return size_; } |
void* Buffer() const { |
return buffer_; |
} |
private: |
- uint32 size_; |
+ uint32_t size_; |
void* buffer_; |
}; |