add -Wshorten-64-to-32 for share
This commit is contained in:
@ -570,7 +570,7 @@ int ObExprSysContext::eval_lang(const ObExpr &expr, common::ObDatum &res,
|
||||
for (int64_t i = 0; !found && i < ARRAYSIZEOF(lang_map_); ++i) {
|
||||
if (0 == language.get_string().case_compare(lang_map_[i].language)) {
|
||||
found = true;
|
||||
abbreviated.assign(lang_map_[i].abbreviated, strlen(lang_map_[i].abbreviated));
|
||||
abbreviated.assign(lang_map_[i].abbreviated, static_cast<int32_t>(strlen(lang_map_[i].abbreviated)));
|
||||
}
|
||||
}
|
||||
if (!found) {
|
||||
|
||||
Reference in New Issue
Block a user