Andrew Talbot : comctl32: Remove unneeded address-of operators from array names.
Module: wine Branch: master Commit: da715453194c7295bf2d7d1460f870e6bd8a42b0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=da715453194c7295bf2d7d1460... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Wed Dec 5 22:42:28 2012 +0000 comctl32: Remove unneeded address-of operators from array names. --- dlls/comctl32/datetime.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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))
participants (1)
-
Alexandre Julliard