Fix FTBFS described at issue #2.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 3 years ago
parent 16528e278b
commit 3ce1e1ccb8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -207,7 +207,7 @@ namespace kt
if (rs.empty()) if (rs.empty())
{ {
Range r = {i,i,0}; Range r = {(int)i,(int)i,0};
rs.append(r); rs.append(r);
} }
else else
@ -219,7 +219,7 @@ namespace kt
} }
else else
{ {
Range r = {i,i,0}; Range r = {(int)i,(int)i,0};
rs.append(r); rs.append(r);
} }
} }
@ -256,7 +256,7 @@ namespace kt
int fac = int(100*((double)num_dl / (jEnd - jStart)) + 0.5); int fac = int(100*((double)num_dl / (jEnd - jStart)) + 0.5);
if (rs.empty()) if (rs.empty())
{ {
Range r = {i,i,fac}; Range r = {(int)i,(int)i,fac};
rs.append(r); rs.append(r);
} }
else else
@ -268,7 +268,7 @@ namespace kt
} }
else else
{ {
Range r = {i,i,fac}; Range r = {(int)i,(int)i,fac};
rs.append(r); rs.append(r);
} }
} }

Loading…
Cancel
Save