Author: cwittich
Date: Fri Nov 16 17:45:36 2007
New Revision: 30509
URL:
http://svn.reactos.org/svn/reactos?rev=30509&view=rev
Log:
sync LISTBOX_InsertString to wine
Modified:
trunk/reactos/dll/win32/user32/controls/listbox.c
Modified: trunk/reactos/dll/win32/user32/controls/listbox.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/listbox.c (original)
+++ trunk/reactos/dll/win32/user32/controls/listbox.c Fri Nov 16 17:45:36 2007
@@ -1696,7 +1696,7 @@
LPCWSTR str )
{
LPWSTR new_str = NULL;
- DWORD data = 0;
+ ULONG_PTR data = 0;
LRESULT ret;
if (HAS_STRINGS(descr))
@@ -1710,7 +1710,7 @@
}
strcpyW(new_str, str);
}
- else data = (DWORD)str;
+ else data = (ULONG_PTR)str;
if (index == -1) index = descr->nb_items;
if ((ret = LISTBOX_InsertItem( descr, index, new_str, data )) != 0)