Commit 69940712 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

shell32: Remove unneeded casts.

parent 2f257556
......@@ -135,7 +135,7 @@ LPCWSTR GetNextElementW (LPCWSTR pszNext, LPWSTR pszOut, DWORD dwOut)
while (*pszTail && (*pszTail != (WCHAR) '\\'))
pszTail++;
dwCopy = (const WCHAR *) pszTail - (const WCHAR *) pszNext + 1;
dwCopy = pszTail - pszNext + 1;
lstrcpynW (pszOut, pszNext, (dwOut < dwCopy) ? dwOut : dwCopy);
if (*pszTail)
......
......@@ -472,7 +472,7 @@ static HRESULT WINAPI ISvItemCm_fnGetCommandString(
switch(idCommand)
{
case FCIDM_SHVIEW_RENAME:
strcpy((LPSTR)lpszName, "rename");
strcpy(lpszName, "rename");
hr = NOERROR;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment