comctl32: Sign-compare warnings fix
Andrew Talbot
andrew.talbot at talbotville.com
Wed Sep 17 14:41:12 CDT 2008
Changelog:
comctl32: Sign-compare warnings fix.
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index a3f9658..bb9efd5 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -215,7 +215,7 @@ static int MONTHCAL_CalcDayFromPos(const MONTHCAL_INFO *infoPtr, int x, int y,
/* day is the day of the month, 1 == 1st day of the month */
/* sets x and y to be the position of the day */
/* x == day, y == week where(0,0) == firstDay, 1st week */
-static void MONTHCAL_CalcDayXY(const MONTHCAL_INFO *infoPtr, int day, int month,
+static void MONTHCAL_CalcDayXY(const MONTHCAL_INFO *infoPtr, int day, DWORD month,
int *x, int *y)
{
int firstDay, prevMonth;
@@ -319,7 +319,7 @@ static void MONTHCAL_CircleDay(const MONTHCAL_INFO *infoPtr, HDC hdc, int day, i
}
-static void MONTHCAL_DrawDay(const MONTHCAL_INFO *infoPtr, HDC hdc, int day, int month,
+static void MONTHCAL_DrawDay(const MONTHCAL_INFO *infoPtr, HDC hdc, int day, DWORD month,
int x, int y, int bold)
{
static const WCHAR fmtW[] = { '%','d',0 };
More information about the wine-patches
mailing list