resolve ambiguous argument for Variant error (#2099)

This commit is contained in:
Bryan Fordney 2022-06-25 13:38:59 -04:00 committed by GitHub
parent fe5d84e022
commit 63a8f65e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ bool SpineAnimation::has_timeline(Array ids) {
property_ids.setSize(ids.size(), 0);
for (int i = 0; i < (int) property_ids.size(); ++i) {
property_ids[i] = (spine::PropertyId) ids[i];
property_ids[i] = (int64_t) ids[i];
}
return get_spine_object()->hasTimeline(property_ids);
}

View File

@ -88,7 +88,7 @@ Array SpineTimeline::get_property_ids() {
auto &ids = get_spine_object()->getPropertyIds();
result.resize((int) ids.size());
for (int i = 0; i < result.size(); ++i) {
result[i] = (spine::PropertyId) ids[i];
result[i] = (int64_t) ids[i];
}
return result;
}