taskmgr: Remove some superfluous casts.
This commit is contained in:
parent
f3975c5a7e
commit
e899241807
|
@ -111,7 +111,7 @@ static int list_channel_CB(HANDLE hProcess, void* addr, struct __wine_debug_
|
|||
char val[2];
|
||||
LVITEMA lvitem;
|
||||
int index;
|
||||
HWND hChannelLV = (HWND)user;
|
||||
HWND hChannelLV = user;
|
||||
|
||||
lvitem.mask = LVIF_TEXT;
|
||||
lvitem.pszText = channel->name;
|
||||
|
|
|
@ -377,7 +377,7 @@ void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc)
|
|||
/* to avoid flicker, establish a memory dc, draw to it */
|
||||
/* and then BitBlt it to the client */
|
||||
memDC = CreateCompatibleDC(dc);
|
||||
memBitmap = (HBITMAP)CreateCompatibleBitmap(dc, this->m_nClientWidth, this->m_nClientHeight);
|
||||
memBitmap = CreateCompatibleBitmap(dc, this->m_nClientWidth, this->m_nClientHeight);
|
||||
oldBitmap = SelectObject(memDC, memBitmap);
|
||||
|
||||
if (memDC != NULL)
|
||||
|
|
|
@ -753,7 +753,7 @@ LPWSTR GetLastErrorText(LPWSTR lpwszBuf, DWORD dwSize)
|
|||
sprintfW(lpwszBuf, wszFormat, lpwszTemp, GetLastError());
|
||||
}
|
||||
if (lpwszTemp) {
|
||||
LocalFree((HLOCAL)lpwszTemp);
|
||||
LocalFree(lpwszTemp);
|
||||
}
|
||||
return lpwszBuf;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue