summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 21:04:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 21:04:25 -0700
commit475e058d40690803a4114f5aa9055023af6e6b4b (patch)
tree352b9ccb4fd147dd098135fa70145358dc0b6387 /profile.c
parent34db6dc2bea6173c070c9820a2e57a511b9ca0b1 (diff)
downloadsubsurface-475e058d40690803a4114f5aa9055023af6e6b4b.tar.gz
Make Windows cross compile again
But this is broken as the utf8/utf16 conversions in windows.c are gone without glib. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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;