Hi,
License: X11
ChangeLog:
Jon Griffiths <jon_p_griffiths@yahoo.com>
+dlls/shlwapi/clist.c
Fix msvc warnings.
=====
"Don't wait for the seas to part, or messiahs to come;
Don't you sit around and waste this chance..." - Live
jon_p_griffiths@yahoo.com
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--- wine/dlls/shlwapi/clist.c Fri Jul 4 17:47:51 2003
+++ wine-develop2/dlls/shlwapi/clist.c Wed Jul 9 19:14:53 2003
@@ -19,9 +19,7 @@
*/
#include <string.h>
-#include "windef.h"
#include "winbase.h"
-#include "winuser.h"
#include "objbase.h"
#include "wine/debug.h"
@@ -31,14 +29,14 @@
typedef struct tagSHLWAPI_CLIST
{
ULONG ulSize; /* Size of this list element and its data */
- ULONG ulId; /* If -1, The real element follows */
+ ULONG ulId; /* If 0xFFFFFFFF, The real element follows */
/* Item data (or a contained SHLWAPI_CLIST) follows... */
} SHLWAPI_CLIST, *LPSHLWAPI_CLIST;
typedef const SHLWAPI_CLIST* LPCSHLWAPI_CLIST;
/* ulId for contained SHLWAPI_CLIST items */
-static const ULONG CLIST_ID_CONTAINER = -1u;
+#define CLIST_ID_CONTAINER 0xFFFFFFFF
HRESULT WINAPI SHLWAPI_20(LPSHLWAPI_CLIST*,LPCSHLWAPI_CLIST);
@@ -91,7 +89,7 @@
*
* Elements are aligned on DWORD boundaries. If an elements data size is not
* a DWORD size multiple, the element is wrapped by inserting a surrounding
- * element with an Id of -1, and size sufficient to pad to a DWORD boundary.
+ * element with an Id of 0xFFFFFFFF, and size sufficient to pad to a DWORD boundary.
*
* These functions are slow for large objects and long lists.
*/