[ros-diffs] [cwittich] 30509: sync LISTBOX_InsertString to wine

cwittich at svn.reactos.org cwittich at svn.reactos.org
Fri Nov 16 15:45:37 CET 2007


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/listbox.c?rev=30509&r1=30508&r2=30509&view=diff
==============================================================================
--- 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)




More information about the Ros-diffs mailing list