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

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: 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
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..988d04086fc402b074dac3eb072062296418d9c4 100644
--- a/sandbox/win/src/policy_params.h
+++ b/sandbox/win/src/policy_params.h
@@ -32,8 +32,9 @@ 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 == (int)FileName::NAME, to_simplify_fs_policies);
+COMPILE_ASSERT(OpenFile::BROKER == (int)FileName::BROKER,
mmenke 2013/05/16 21:58:46 C-style casts violate Google style guide.
+ to_simplify_fs_policies);
// Policy parameter for name-based policies.
POLPARAMS_BEGIN(NameBased)

Powered by Google App Engine
This is Rietveld 408576698