mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
Fixed some warnings.
This commit is contained in:
parent
269b409712
commit
b4c7499883
@ -207,7 +207,7 @@ void DEBUG_BackTrace(BOOL noisy)
|
||||
* available at SS:ESP, so let's try to retrieve it */
|
||||
tmp.seg = ss;
|
||||
tmp.off = DEBUG_context.Esp;
|
||||
if (DEBUG_READ_MEM(DEBUG_ToLinear(&tmp), &code.off, sizeof(code.off))) {
|
||||
if (DEBUG_READ_MEM((void *)DEBUG_ToLinear(&tmp), &code.off, sizeof(code.off))) {
|
||||
DEBUG_ForceFrame( &addr, &code, ++frameno, 32, noisy, ", null call assumed" );
|
||||
}
|
||||
}
|
||||
|
@ -1938,7 +1938,7 @@ static BOOL LISTVIEW_SetItem(HWND hwnd, LPLVITEMA lpLVItem)
|
||||
if (lpLVItem->iSubItem == 0)
|
||||
{
|
||||
hdpaSubItems = (HDPA)DPA_GetPtr(infoPtr->hdpaItems, lpLVItem->iItem);
|
||||
if (hdpaSubItems != NULL && hdpaSubItems != -1)
|
||||
if (hdpaSubItems != NULL && hdpaSubItems != (HDPA)-1)
|
||||
{
|
||||
lpItem = (LISTVIEW_ITEM *)DPA_GetPtr(hdpaSubItems, lpLVItem->iSubItem);
|
||||
if (lpItem != NULL)
|
||||
@ -5088,7 +5088,7 @@ static LRESULT LISTVIEW_GetStringWidthA(HWND hwnd, LPCSTR lpszText)
|
||||
HDC hdc;
|
||||
|
||||
ZeroMemory(&stringSize, sizeof(SIZE));
|
||||
if (lpszText != NULL && lpszText != -1)
|
||||
if (lpszText != NULL && lpszText != (LPCSTR)-1)
|
||||
{
|
||||
hFont = infoPtr->hFont ? infoPtr->hFont : infoPtr->hDefaultFont;
|
||||
hdc = GetDC(hwnd);
|
||||
|
Loading…
Reference in New Issue
Block a user