Commit 830ba7c6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

GME: fix potential integer overflow

(cherry picked from commit de7205dc3237b3bfeeb4a8f265e357fcb317f9e1)
parent d6be9e61
......@@ -183,7 +183,7 @@ static int Control (demux_t *demux, int query, va_list args)
case DEMUX_GET_TIME:
{
int64_t *v = va_arg (args, int64_t *);
*v = gme_tell (sys->emu) * 1000;
*v = gme_tell (sys->emu) * INT64_C(1000);
return VLC_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment