shell32: Remove unneeded casts.
This commit is contained in:
parent
2f25755674
commit
6994071269
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue