summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/infotips/infotips.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/shlxthandler/infotips/infotips.cxx b/shell/source/win32/shlxthandler/infotips/infotips.cxx
index aff286d7b68c..9028b69ed55f 100644
--- a/shell/source/win32/shlxthandler/infotips/infotips.cxx
+++ b/shell/source/win32/shlxthandler/infotips/infotips.cxx
@@ -127,8 +127,8 @@ DWORD getSizeOfFile( char* FileName )
if (hFile != INVALID_HANDLE_VALUE)
{
- DWORD dwSize = GetFileSize( HANDLE(hFile), nullptr );
- CloseHandle( HANDLE(hFile) );
+ DWORD dwSize = GetFileSize( hFile, nullptr );
+ CloseHandle( hFile );
return dwSize;
}