revised __int64 to int64_t

This commit is contained in:
Vulpine05 2022-06-17 16:09:41 -05:00
parent c7039c75c1
commit 8e250e0ba4
2 changed files with 2 additions and 2 deletions

View File

@ -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.);
}

View File

@ -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.);
}