diff options
Diffstat (limited to 'baserender.c')
-rw-r--r-- | baserender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baserender.c b/baserender.c index 36935904..1204c530 100644 --- a/baserender.c +++ b/baserender.c @@ -859,7 +859,7 @@ void cFlatBaseRender::ProgressBarDrawMarks(int Current, int Total, const cMarks } int cFlatBaseRender::ProgressBarMarkPos(int P, int Total) { - return P * progressBarWidth / Total; + return (int64_t)P * progressBarWidth / Total; } void cFlatBaseRender::ProgressBarDrawMark(int posMark, int posMarkLast, int posCurrent, bool Start, bool isCurrent) |