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

Unified Diff: sandbox/win/src/policy_params.h

Issue 15200005: Grab bag of clang fixes for Windows code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ptr and cast style Created 7 years, 7 months 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 | « net/http/http_auth_sspi_win.cc ('k') | third_party/leveldatabase/port/port_chromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/policy_params.h
diff --git a/sandbox/win/src/policy_params.h b/sandbox/win/src/policy_params.h
index 686d08fa8c4ef126053a190b132491fc8bcee07c..7ded1fcfc470752ba42ac7c3191b1c3ea648bb39 100644
--- a/sandbox/win/src/policy_params.h
+++ b/sandbox/win/src/policy_params.h
@@ -32,8 +32,10 @@ POLPARAMS_BEGIN(FileName)
POLPARAM(BROKER) // TRUE if called from the broker.
POLPARAMS_END(FileName)
-COMPILE_ASSERT(OpenFile::NAME == FileName::NAME, to_simplify_fs_policies);
-COMPILE_ASSERT(OpenFile::BROKER == FileName::BROKER, to_simplify_fs_policies);
+COMPILE_ASSERT(OpenFile::NAME == static_cast<int>(FileName::NAME),
+ to_simplify_fs_policies);
+COMPILE_ASSERT(OpenFile::BROKER == static_cast<int>(FileName::BROKER),
+ to_simplify_fs_policies);
// Policy parameter for name-based policies.
POLPARAMS_BEGIN(NameBased)
« no previous file with comments | « net/http/http_auth_sspi_win.cc ('k') | third_party/leveldatabase/port/port_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698