shell32: Remove unneeded casts.

This commit is contained in:
Andrew Talbot 2008-01-19 16:54:31 +00:00 committed by Alexandre Julliard
parent 2f25755674
commit 6994071269
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}