diff options
Diffstat (limited to 'shell/source/win32/shlxthandler/infotips/infotips.cxx')
-rw-r--r-- | shell/source/win32/shlxthandler/infotips/infotips.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/infotips/infotips.cxx b/shell/source/win32/shlxthandler/infotips/infotips.cxx index 682fb3478eef..088eb8e5a983 100644 --- a/shell/source/win32/shlxthandler/infotips/infotips.cxx +++ b/shell/source/win32/shlxthandler/infotips/infotips.cxx @@ -150,7 +150,7 @@ std::wstring formatSizeOfFile( DWORD dwSize ) char *buffer=nullptr; int decimal, sign; - double dFileSize = (double)dwSize/KB; + double dFileSize = static_cast<double>(dwSize)/KB; buffer = _fcvt( dFileSize, 1, &decimal, &sign ); |