diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-01-05 14:08:04 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-01-05 19:53:47 +0300 |
commit | 8620dc8b793dceef3ac21f902baaff69b312af22 (patch) | |
tree | 39e91526bc4e0504a20556fb150a8f4cc0b68db4 /shell_integration | |
parent | d73cc9e78a7eb44e528151f943ba0676d65daa83 (diff) |
Fix int uint warning
Diffstat (limited to 'shell_integration')
-rw-r--r-- | shell_integration/windows/OCContextMenu/OCContextMenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell_integration/windows/OCContextMenu/OCContextMenu.cpp b/shell_integration/windows/OCContextMenu/OCContextMenu.cpp index 93b548c57..a17df3248 100644 --- a/shell_integration/windows/OCContextMenu/OCContextMenu.cpp +++ b/shell_integration/windows/OCContextMenu/OCContextMenu.cpp @@ -72,7 +72,7 @@ IFACEMETHODIMP_(ULONG) OCContextMenu::Release() // Initialize the context menu handler. IFACEMETHODIMP OCContextMenu::Initialize( - LPCITEMIDLIST pidlFolder, LPDATAOBJECT pDataObj, HKEY hKeyProgID) + LPCITEMIDLIST, LPDATAOBJECT pDataObj, HKEY) { m_selectedFiles.clear(); @@ -88,7 +88,7 @@ IFACEMETHODIMP OCContextMenu::Initialize( HDROP hDrop = static_cast<HDROP>(GlobalLock(stm.hGlobal)); if (hDrop) { UINT nFiles = DragQueryFile(hDrop, 0xFFFFFFFF, NULL, 0); - for (int i = 0; i < nFiles; ++i) { + for (UINT i = 0; i < nFiles; ++i) { // Get the path of the file. wchar_t buffer[MAX_PATH]; |