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:
parent
7723392c01
commit
ddebaaa62c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user