1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +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 f;
double nf; double nf;
expv = floor(log10(x)); expv = (int)floor(log10(x));
f = x / pow(10.0, expv); f = x / pow(10.0, expv);
if (round) { if (round) {