From 299a810e4f68a78aad25207e7311126b9db143b6 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 10 Dec 2022 21:27:17 +0100 Subject: [PATCH] Fix potential ambigous variant conversion. --- gif_loader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gif_loader.cpp b/gif_loader.cpp index 7962ab3..43c6342 100644 --- a/gif_loader.cpp +++ b/gif_loader.cpp @@ -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 img; img.instance();