From 830ba7c6fa4d8f0b8d146af12b0b948879be7935 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
Date: Thu, 28 Oct 2010 22:00:45 +0300
Subject: [PATCH] GME: fix potential integer overflow (cherry picked from
 commit de7205dc3237b3bfeeb4a8f265e357fcb317f9e1)

---
 modules/demux/gme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/gme.c b/modules/demux/gme.c
index 77ce03a773..65c151aa3e 100644
--- a/modules/demux/gme.c
+++ b/modules/demux/gme.c
@@ -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;
         }
 
-- 
2.25.4