Skip to content

Commit c27a2ea

Browse files
committed
Use suffixed literal rather than casting.
1 parent 959a6bd commit c27a2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mp4parse_capi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,6 @@ fn media_time_overflow() {
14151415
#[test]
14161416
fn track_time_overflow() {
14171417
let scale = TrackTimeScale(44100u64, 0);
1418-
let duration = TrackScaledTime(4413527634807900 as u64, 0);
1418+
let duration = TrackScaledTime(4413527634807900u64, 0);
14191419
assert_eq!(track_time_to_us(duration, scale), Some(100079991719000000));
14201420
}

0 commit comments

Comments
 (0)