Diff between 1403ec378181a6b376fc92ae8914ffa2b59b1584 and ee86b4a2550fd171e2087247d109c2aa91038a8f

Changed Files

File Additions Deletions Status
android/mcap-lib.c +1 -1 modified

Full Patch

diff --git a/android/mcap-lib.c b/android/mcap-lib.c
index b04eaac..21db5b4 100644
--- a/android/mcap-lib.c
+++ b/android/mcap-lib.c
@@ -2351,7 +2351,7 @@ void mcap_sync_stop(struct mcap_mcl *mcl)
 
 static uint64_t time_us(struct timespec *tv)
 {
-	return tv->tv_sec * 1000000 + tv->tv_nsec / 1000;
+	return tv->tv_sec * 1000000ll + tv->tv_nsec / 1000ll;
 }
 
 static int64_t bt2us(int bt)