shithub: libvpx

Download patch

ref: 7a48bfab4703a4b10aed6cbf42d00ef8cda7ba70
parent: 016933ad48af499ad7e928ca32ba2fab692273df
parent: 943f9c0356204683e295288e0bd8558abc98ae03
author: James Zern <[email protected]>
date: Mon Feb 13 16:00:33 EST 2017

Merge "vpx_usec_timer_elapsed: use 64-bit math"

--- a/vpx_ports/vpx_timer.h
+++ b/vpx_ports/vpx_timer.h
@@ -83,7 +83,7 @@
   struct timeval diff;
 
   timersub(&t->end, &t->begin, &diff);
-  return diff.tv_sec * 1000000 + diff.tv_usec;
+  return (int64_t)diff.tv_sec * 1000000 + diff.tv_usec;
 #endif
 }