This commit is contained in:
13038267101 2023-01-11 17:15:05 +08:00
commit 48f5da3491
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ std::string hg_scanner::setting_name_from(const char* n_or_id, int* id)
if (IS_PTR_NUMBER(n_or_id)) if (IS_PTR_NUMBER(n_or_id))
{ {
if (id) if (id)
*id = (int)n_or_id; *id = (long long)n_or_id;
if ((unsigned long)n_or_id < jsn_children_.size()) if ((unsigned long)n_or_id < jsn_children_.size())
return jsn_children_[(unsigned long)n_or_id]; return jsn_children_[(unsigned long)n_or_id];