Avoid truncating the item data to 32 bits in LB_SETITEMDATA.

This commit is contained in:
Alexandre Julliard 2005-09-12 15:36:39 +00:00
parent f367051afe
commit 556a129afa
1 changed files with 1 additions and 1 deletions

View File

@ -2671,7 +2671,7 @@ static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
SetLastError(ERROR_INVALID_INDEX); SetLastError(ERROR_INVALID_INDEX);
return LB_ERR; return LB_ERR;
} }
descr->items[wParam].data = (DWORD)lParam; descr->items[wParam].data = lParam;
return LB_OKAY; return LB_OKAY;
case LB_GETCOUNT16: case LB_GETCOUNT16: