diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c
index dc89b4e9fda4ce49fa816e83cf1fa128d12f09cc..bf8eec717e2d506794ce45ed258f3dbd1d6ae6e5 100644
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -808,7 +808,7 @@ static int write_superframe_index(vpx_codec_alg_priv_t *ctx) {
 }
 
 // vp9 uses 10,000,000 ticks/second as time stamp
-#define TICKS_PER_SEC 10000000
+#define TICKS_PER_SEC 10000000LL
 
 static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase,
                                        int64_t n) {