diff options
author | John Stebbins <[email protected]> | 2015-12-26 17:45:37 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-12-26 17:46:15 -0700 |
commit | 4e396c75f8e310a90c86d7f540d33261e70cb7c1 (patch) | |
tree | 84d9184a55d9b835dda3c46dfe80cd3102f604db /libhb/dvdnav.c | |
parent | 62fba0145cf1e1f4167ab713632c85815911cb59 (diff) |
libhb: use LL for int64 constants to make mingw happy
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r-- | libhb/dvdnav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c index 09dc411f8..6d06cddd9 100644 --- a/libhb/dvdnav.c +++ b/libhb/dvdnav.c @@ -1323,7 +1323,7 @@ static int hb_dvdnav_main_feature( hb_dvd_t * e, hb_list_t * list_title ) longest_duration_fallback = title->duration; longest_fallback = title->index; } - if ( title->duration > 90000L * 60 * 30 ) + if ( title->duration > 90000LL * 60 * 30 ) { avg_duration += title->duration; avg_cnt++; @@ -1419,7 +1419,7 @@ static int hb_dvdnav_main_feature( hb_dvd_t * e, hb_list_t * list_title ) longest = longest_title; } if ((float)longest_duration_fallback * 0.7 > longest_duration && - longest_duration < 90000L * 60 * 30 ) + longest_duration < 90000LL * 60 * 30 ) { float factor = (float)avg_duration / longest_duration; if ( factor > 1 ) |