mirror of https://github.com/BOINC/boinc.git
revised __int64 to int64_t
This commit is contained in:
parent
c7039c75c1
commit
8e250e0ba4
|
@ -254,7 +254,7 @@ wxString CDlgAdvPreferences::DoubleToTimeString(double dt) {
|
|||
// and the value is displayed as 0.00 but is actually 0.001.
|
||||
//
|
||||
double CDlgAdvPreferences::RoundToHundredths(double td) {
|
||||
__int64 i = (__int64)((td + .005) * 100.);
|
||||
int64_t i = (int64_t)((td + .005) * 100.);
|
||||
return ((double)(i) / 100.);
|
||||
}
|
||||
|
||||
|
|
|
@ -618,7 +618,7 @@ wxString CPanelPreferences::DoubleToTimeString(double dt) {
|
|||
// and the value is displayed as 0.00 but is actually 0.001.
|
||||
//
|
||||
double CPanelPreferences::RoundToHundredths(double td) {
|
||||
__int64 i = (__int64)((td + .005) * 100.);
|
||||
int64_t i = (int64_t)((td + .005) * 100.);
|
||||
return ((double)(i) / 100.);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue