调整name——from转换
This commit is contained in:
parent
707359d6b7
commit
ccaf605bdd
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue