Fix potential ambigous variant conversion.

This commit is contained in:
Relintai 2022-12-10 21:27:17 +01:00
parent 12560ee460
commit 299a810e4f

View File

@ -76,7 +76,8 @@ void GIFLoader::gif_frame(void *data, struct GIF_WHDR *whdr) {
pictw.release();
Array image_arr;
image_arr.push_back(whdr->time);
int aframe_time = whdr->time;
image_arr.push_back(aframe_time);
Ref<Image> img;
img.instance();