Author: weiden
Date: Mon Nov 27 00:44:57 2006
New Revision: 24847
URL:
http://svn.reactos.org/svn/reactos?rev=24847&view=rev
Log:
Fix GCC4 warnings
Modified:
trunk/reactos/dll/cpl/desk/background.c
Modified: trunk/reactos/dll/cpl/desk/background.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/background.c?…
==============================================================================
--- trunk/reactos/dll/cpl/desk/background.c (original)
+++ trunk/reactos/dll/cpl/desk/background.c Mon Nov 27 00:44:57 2006
@@ -80,7 +80,7 @@
dummy.mask = LVCF_SUBITEM | LVCF_WIDTH;
dummy.iSubItem = 0;
dummy.cx = (clientRect.right - clientRect.left) -
GetSystemMetrics(SM_CXVSCROLL);
- ListView_InsertColumn(hwndBackgroundList, 0, &dummy);
+ (void)ListView_InsertColumn(hwndBackgroundList, 0, &dummy);
/* Add the "None" item */
backgroundItem =
&pGlobalData->backgroundItems[pGlobalData->listViewItemCount];
@@ -98,7 +98,7 @@
listItem.iItem = pGlobalData->listViewItemCount;
listItem.lParam = pGlobalData->listViewItemCount;
- ListView_InsertItem(hwndBackgroundList, &listItem);
+ (void)ListView_InsertItem(hwndBackgroundList, &listItem);
ListView_SetItemState(hwndBackgroundList, pGlobalData->listViewItemCount,
LVIS_SELECTED, LVIS_SELECTED);
pGlobalData->listViewItemCount++;
@@ -120,7 +120,7 @@
{
if (i++ == 0)
{
- ListView_SetImageList(hwndBackgroundList, himl, LVSIL_SMALL);
+ (void)ListView_SetImageList(hwndBackgroundList, himl, LVSIL_SMALL);
}
backgroundItem =
&pGlobalData->backgroundItems[pGlobalData->listViewItemCount];
@@ -138,7 +138,7 @@
listItem.iItem = pGlobalData->listViewItemCount;
listItem.lParam = pGlobalData->listViewItemCount;
- ListView_InsertItem(hwndBackgroundList, &listItem);
+ (void)ListView_InsertItem(hwndBackgroundList, &listItem);
ListView_SetItemState(hwndBackgroundList, pGlobalData->listViewItemCount,
LVIS_SELECTED, LVIS_SELECTED);
pGlobalData->listViewItemCount++;
@@ -183,7 +183,7 @@
if (i++ == 0)
{
- ListView_SetImageList(hwndBackgroundList, himl, LVSIL_SMALL);
+ (void)ListView_SetImageList(hwndBackgroundList, himl, LVSIL_SMALL);
}
backgroundItem =
&pGlobalData->backgroundItems[pGlobalData->listViewItemCount];
@@ -201,7 +201,7 @@
listItem.iItem = pGlobalData->listViewItemCount;
listItem.lParam = pGlobalData->listViewItemCount;
- ListView_InsertItem(hwndBackgroundList, &listItem);
+ (void)ListView_InsertItem(hwndBackgroundList, &listItem);
pGlobalData->listViewItemCount++;
}
@@ -442,7 +442,7 @@
listItem.iItem = pGlobalData->listViewItemCount;
listItem.lParam = pGlobalData->listViewItemCount;
- ListView_InsertItem(hwndBackgroundList, &listItem);
+ (void)ListView_InsertItem(hwndBackgroundList, &listItem);
pGlobalData->listViewItemCount++;
}