git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
macOS: Use larger type for bookmark hours and minutes
[vlc.git]
/
modules
/
gui
/
macosx
/
VLCBookmarksWindowController.m
diff --git
a/modules/gui/macosx/VLCBookmarksWindowController.m
b/modules/gui/macosx/VLCBookmarksWindowController.m
index
e3043b5
..
d690430
100644
(file)
--- a/
modules/gui/macosx/VLCBookmarksWindowController.m
+++ b/
modules/gui/macosx/VLCBookmarksWindowController.m
@@
-341,11
+341,11
@@
clear:
assert(bookmark != NULL);
mtime_t total = bookmark->i_time_offset;
assert(bookmark != NULL);
mtime_t total = bookmark->i_time_offset;
- u
nsigned
hour = ( total / ( CLOCK_FREQ * 3600 ) );
- u
nsigned
min = ( total % ( CLOCK_FREQ * 3600 ) ) / ( CLOCK_FREQ * 60 );
+ u
int64_t
hour = ( total / ( CLOCK_FREQ * 3600 ) );
+ u
int64_t
min = ( total % ( CLOCK_FREQ * 3600 ) ) / ( CLOCK_FREQ * 60 );
float sec = ( total % ( CLOCK_FREQ * 60 ) ) / ( CLOCK_FREQ * 1. );
float sec = ( total % ( CLOCK_FREQ * 60 ) ) / ( CLOCK_FREQ * 1. );
- return [NSString stringWithFormat:@"%02
d:%02d
:%06.3f", hour, min, sec];
+ return [NSString stringWithFormat:@"%02
llu:%02llu
:%06.3f", hour, min, sec];
}
/*****************************************************************************
}
/*****************************************************************************