1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-17 16:20:48 +01:00

Fixed MSVC 2015 compile issues

This commit is contained in:
Martin Tůma 2016-02-07 18:27:50 +01:00
parent 7723392c01
commit ddebaaa62c
3 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ double niceNum(double x, int round)
double f;
double nf;
expv = floor(log10(x));
expv = (int)floor(log10(x));
f = x / pow(10.0, expv);
if (round) {