summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/src/policy_engine_opcodes.cc2
1 files changed, 1 insertions, 1 deletions
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