diff --git a/src/groups/bmq/bmqeval/bmqeval_simpleevaluator.h b/src/groups/bmq/bmqeval/bmqeval_simpleevaluator.h index 2cceb3fc8..1a071ced6 100644 --- a/src/groups/bmq/bmqeval/bmqeval_simpleevaluator.h +++ b/src/groups/bmq/bmqeval/bmqeval_simpleevaluator.h @@ -967,10 +967,10 @@ inline int CompilationContext::getPropertyIndex(const bsl::string& property, if (iter == d_properties.end()) { PropertyInfo info = {type, d_properties.size()}; d_properties.insert(iter, bsl::make_pair(property, info)); - return info.d_index; // RETURN + return static_cast(info.d_index); // RETURN } if (iter->second.d_type == type) { - return iter->second.d_index; // RETURN + return static_cast(iter->second.d_index); // RETURN } return -1; }