Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1392)

Unified Diff: sandbox/win/src/sync_interception.cc

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/sync_dispatcher.cc ('k') | sandbox/win/src/sync_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/sync_interception.cc
diff --git a/sandbox/win/src/sync_interception.cc b/sandbox/win/src/sync_interception.cc
index da612a5b35029e65b056cc5838c20714a44cdcf3..420d185ab22926e9ce8ea6b0b0e19ccb78d08c1b 100644
--- a/sandbox/win/src/sync_interception.cc
+++ b/sandbox/win/src/sync_interception.cc
@@ -4,6 +4,8 @@
#include "sandbox/win/src/sync_interception.h"
+#include <stdint.h>
+
#include "sandbox/win/src/crosscall_client.h"
#include "sandbox/win/src/ipc_tags.h"
#include "sandbox/win/src/policy_params.h"
@@ -16,7 +18,7 @@
namespace sandbox {
ResultCode ProxyCreateEvent(LPCWSTR name,
- uint32 initial_state,
+ uint32_t initial_state,
EVENT_TYPE event_type,
void* ipc_memory,
CrossCallReturn* answer) {
@@ -33,7 +35,7 @@ ResultCode ProxyCreateEvent(LPCWSTR name,
}
ResultCode ProxyOpenEvent(LPCWSTR name,
- uint32 desired_access,
+ uint32_t desired_access,
void* ipc_memory,
CrossCallReturn* answer) {
CountedParameterSet<OpenEventParams> params;
@@ -79,7 +81,7 @@ NTSTATUS WINAPI TargetNtCreateEvent(NtCreateEventFunction orig_CreateEvent,
object_attribs_copy.RootDirectory = NULL;
wchar_t* name = NULL;
- uint32 attributes = 0;
+ uint32_t attributes = 0;
NTSTATUS ret = AllocAndCopyName(&object_attribs_copy, &name, &attributes,
NULL);
if (!NT_SUCCESS(ret) || name == NULL)
@@ -132,7 +134,7 @@ NTSTATUS WINAPI TargetNtOpenEvent(NtOpenEventFunction orig_OpenEvent,
object_attribs_copy.RootDirectory = NULL;
wchar_t* name = NULL;
- uint32 attributes = 0;
+ uint32_t attributes = 0;
NTSTATUS ret = AllocAndCopyName(&object_attribs_copy, &name, &attributes,
NULL);
if (!NT_SUCCESS(ret) || name == NULL)
« no previous file with comments | « sandbox/win/src/sync_dispatcher.cc ('k') | sandbox/win/src/sync_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698