Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / sandbox / win / src / policy_low_level.cc
index b6331b9..ef9b4e1 100644 (file)
@@ -274,8 +274,10 @@ bool PolicyRule::AddStringMatch(RuleType rule_type, int16 parameter,
   return true;
 }
 
-bool PolicyRule::AddNumberMatch(RuleType rule_type, int16 parameter,
-                                unsigned long number, RuleOp comparison_op) {
+bool PolicyRule::AddNumberMatch(RuleType rule_type,
+                                int16 parameter,
+                                uint32 number,
+                                RuleOp comparison_op) {
   if (done_) {
     // Do not allow to add more rules after generating the action opcode.
     return false;
@@ -287,7 +289,8 @@ bool PolicyRule::AddNumberMatch(RuleType rule_type, int16 parameter,
       return false;
     }
   } else if (AND == comparison_op) {
-    if (NULL == opcode_factory_->MakeOpUlongAndMatch(parameter, number, opts)) {
+    if (NULL == opcode_factory_->MakeOpNumberAndMatch(parameter, number,
+                                                      opts)) {
       return false;
     }
   }