summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-02 10:35:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-02 10:35:45 +0200
commit99377fd4d1c7fd72fc05999d01be6755b672cdfe (patch)
tree727b74338d105cf9fa43813267111e81c6f11ffd /shell
parent841d8a60935ea59b7ba7efb9788dc2ec40cf5689 (diff)
loplugin:redundantcast (clang-cl)
Change-Id: I465469471dc95e5dd61ecafd8ee8c9424b1b8030
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;
}