comctl32: Remove unneeded address-of operators from array names
Andrew Talbot
andrew.talbot at talbotville.com
Wed Dec 5 16:42:28 CST 2012
Changelog:
comctl32: Remove unneeded address-of operators from array names.
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index d36032f..748e0fc 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -178,7 +178,7 @@ static BOOL DATETIME_IsDateInValidRange(const DATETIME_INFO *infoPtr, const SYST
(MONTHCAL_CompareSystemTime(date, &min_allowed_date) == -1))
return FALSE;
- limits = SendMessageW (infoPtr->hMonthCal, MCM_GETRANGE, 0, (LPARAM) &range);
+ limits = SendMessageW (infoPtr->hMonthCal, MCM_GETRANGE, 0, (LPARAM)range);
if (limits & GDTR_MAX)
{
@@ -585,7 +585,7 @@ DATETIME_IncreaseField (DATETIME_INFO *infoPtr, int number, int delta)
}
/* Ensure time is within bounds */
- limits = SendMessageW (infoPtr->hMonthCal, MCM_GETRANGE, 0, (LPARAM) &range);
+ limits = SendMessageW (infoPtr->hMonthCal, MCM_GETRANGE, 0, (LPARAM)range);
min = delta < 0;
if (limits & (min ? GDTR_MIN : GDTR_MAX))
More information about the wine-patches
mailing list