summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 656c6bb6a..b360c6f1c 100644
--- a/profile.c
+++ b/profile.c
@@ -92,7 +92,7 @@ int get_maxdepth(struct plot_info *pi)
md = ROUND_UP(mm+3000, 10000);
} else {
/* Minimum 30m, rounded up to 10m, with at least 3m to spare */
- md = MAX(30000, ROUND_UP(mm+3000, 10000));
+ md = MAX((unsigned)30000, ROUND_UP(mm+3000, 10000));
}
md += pi->maxpp * 9000;
return md;