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

GME: fix potential integer overflow

parent fac9bec6
...@@ -183,7 +183,7 @@ static int Control (demux_t *demux, int query, va_list args) ...@@ -183,7 +183,7 @@ static int Control (demux_t *demux, int query, va_list args)
case DEMUX_GET_TIME: case DEMUX_GET_TIME:
{ {
int64_t *v = va_arg (args, int64_t *); 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; 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