Commit 556a129a authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid truncating the item data to 32 bits in LB_SETITEMDATA.

parent f367051a
......@@ -2671,7 +2671,7 @@ static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
SetLastError(ERROR_INVALID_INDEX);
return LB_ERR;
}
descr->items[wParam].data = (DWORD)lParam;
descr->items[wParam].data = lParam;
return LB_OKAY;
case LB_GETCOUNT16:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment