| Index: sandbox/win/src/policy_engine_params.h
|
| diff --git a/sandbox/win/src/policy_engine_params.h b/sandbox/win/src/policy_engine_params.h
|
| index 5b3c5ef11ce58d14f1aeb48cae3af5e02bf8f47a..fb4c00e3da104f5cfd43165c1f52d50c4af04664 100644
|
| --- a/sandbox/win/src/policy_engine_params.h
|
| +++ b/sandbox/win/src/policy_engine_params.h
|
| @@ -5,7 +5,8 @@
|
| #ifndef SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__
|
| #define SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__
|
|
|
| -#include "base/basictypes.h"
|
| +#include <stdint.h>
|
| +
|
| #include "sandbox/win/src/internal_types.h"
|
| #include "sandbox/win/src/nt_internals.h"
|
| #include "sandbox/win/src/sandbox_nt_util.h"
|
| @@ -61,11 +62,11 @@ class ParameterSet {
|
| ParameterSet() : real_type_(INVALID_TYPE), address_(NULL) {}
|
|
|
| // Retrieve the stored parameter. If the type does not match ulong fail.
|
| - bool Get(uint32* destination) const {
|
| + bool Get(uint32_t* destination) const {
|
| if (real_type_ != UINT32_TYPE) {
|
| return false;
|
| }
|
| - *destination = Void2TypePointerCopy<uint32>();
|
| + *destination = Void2TypePointerCopy<uint32_t>();
|
| return true;
|
| }
|
|
|
| @@ -152,9 +153,8 @@ class ParameterSetEx<wchar_t const*> : public ParameterSet {
|
| : ParameterSet(WCHAR_TYPE, address) {}
|
| };
|
|
|
| -
|
| -template<>
|
| -class ParameterSetEx<uint32> : public ParameterSet {
|
| +template <>
|
| +class ParameterSetEx<uint32_t> : public ParameterSet {
|
| public:
|
| ParameterSetEx(const void* address)
|
| : ParameterSet(UINT32_TYPE, address) {}
|
|
|