summaryrefslogtreecommitdiff
path: root/displayvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'displayvolume.c')
-rw-r--r--displayvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displayvolume.c b/displayvolume.c
index 1661e02..7c1181a 100644
--- a/displayvolume.c
+++ b/displayvolume.c
@@ -142,7 +142,7 @@ void cNopacityDisplayVolume::Action(void) {
while (Running()) {
uint64_t Now = cTimeMs::Now();
cPixmap::Lock();
- double t = min(double(Now - Start) / FadeTime, 1.0);
+ double t = std::min(double(Now - Start) / FadeTime, 1.0);
int Alpha = t * ALPHA_OPAQUE;
pixmapBackground->SetAlpha(Alpha);
pixmapProgressBar->SetAlpha(Alpha);