From 8e250e0ba43619d4814ba58c3c80b9b58274584f Mon Sep 17 00:00:00 2001 From: Vulpine05 Date: Fri, 17 Jun 2022 16:09:41 -0500 Subject: [PATCH] revised __int64 to int64_t --- clientgui/DlgAdvPreferences.cpp | 2 +- clientgui/sg_DlgPreferences.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index 139d4e2024..2fb34f6f54 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -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.); } diff --git a/clientgui/sg_DlgPreferences.cpp b/clientgui/sg_DlgPreferences.cpp index 0b2d4265e7..a7d139400b 100644 --- a/clientgui/sg_DlgPreferences.cpp +++ b/clientgui/sg_DlgPreferences.cpp @@ -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.); }