调整name——from转换

This commit is contained in:
modehua 2023-01-11 14:47:50 +08:00
parent 707359d6b7
commit ccaf605bdd
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 (id)
*id = (int)n_or_id;
*id = (long long)n_or_id;
if ((unsigned long)n_or_id < jsn_children_.size())
return jsn_children_[(unsigned long)n_or_id];