summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/cuesheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index a6831fa97d..afe9531ce7 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -364,7 +364,7 @@ void cue_draw_markers(struct screen *screen, struct cuesheet *cue,
364 int i,xi; 364 int i,xi;
365 for (i=1; i < cue->track_count; i++) 365 for (i=1; i < cue->track_count; i++)
366 { 366 {
367 xi = x + (w * cue->tracks[i].offset)/tracklen; 367 xi = x + (w * (long long)cue->tracks[i].offset)/tracklen;
368 draw_veritcal_line_mark(screen, xi, y, h); 368 draw_veritcal_line_mark(screen, xi, y, h);
369 } 369 }
370} 370}