diff options
-rw-r--r-- | build/internal/essential.vsprops | 2 | ||||
-rw-r--r-- | sandbox/src/policy_engine_opcodes.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/internal/essential.vsprops b/build/internal/essential.vsprops index f64145e..4125957 100644 --- a/build/internal/essential.vsprops +++ b/build/internal/essential.vsprops @@ -10,7 +10,7 @@ <Tool Name="VCCLCompilerTool" AdditionalIncludeDirectories="$(SolutionDir)..;$(SDKIncludes)" - PreprocessorDefinitions="_WIN32_WINNT=0x0600;WINVER=0x0600;WIN32;_WINDOWS;_HAS_EXCEPTIONS=0;NOMINMAX;_CRT_RAND_S;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;WIN32_LEAN_AND_MEAN" + PreprocessorDefinitions="_WIN32_WINNT=0x0600;WINVER=0x0600;WIN32;_WINDOWS;_HAS_EXCEPTIONS=0;NOMINMAX;_CRT_RAND_S;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;WIN32_LEAN_AND_MEAN;_SECURE_ATL" MinimalRebuild="false" ExceptionHandling="0" RuntimeTypeInfo="false" diff --git a/sandbox/src/policy_engine_opcodes.cc b/sandbox/src/policy_engine_opcodes.cc index 6031d4c..5e9ed51 100644 --- a/sandbox/src/policy_engine_opcodes.cc +++ b/sandbox/src/policy_engine_opcodes.cc @@ -299,7 +299,7 @@ EvalResult OpcodeEval<OP_WSTRING_MATCH>(PolicyOpcode* opcode, // Advance the source string to the last successfully evaluated position // according to the match context. source_str = &source_str[context->position]; - int source_len = g_nt.wcslen(source_str); + int source_len = static_cast<int>(g_nt.wcslen(source_str)); if (0 == source_len) { // If we reached the end of the source string there is nothing we can |