Author: gadamopoulos Date: Tue Feb 15 16:19:10 2011 New Revision: 50710
URL: http://svn.reactos.org/svn/reactos?rev=50710&view=rev Log: [comctl32] - Fix compilation with msc
Modified: branches/cmake-bringup/dll/win32/comctl32/monthcal.c
Modified: branches/cmake-bringup/dll/win32/comctl32/monthcal.c URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/comctl32... ============================================================================== --- branches/cmake-bringup/dll/win32/comctl32/monthcal.c [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/comctl32/monthcal.c [iso-8859-1] Tue Feb 15 16:19:10 2011 @@ -147,8 +147,8 @@ /* empty SYSTEMTIME const */ static const SYSTEMTIME st_null; /* valid date limits */ -static const SYSTEMTIME max_allowed_date = { .wYear = 9999, .wMonth = 12, .wDay = 31 }; -static const SYSTEMTIME min_allowed_date = { .wYear = 1752, .wMonth = 9, .wDay = 14 }; +static const SYSTEMTIME max_allowed_date = { 9999, 12, 0, 31, 0, 0, 0, 0 }; +static const SYSTEMTIME min_allowed_date = { 1752, 9, 0, 14, 0, 0, 0, 0 };
#define MONTHCAL_GetInfoPtr(hwnd) ((MONTHCAL_INFO *)GetWindowLongPtrW(hwnd, 0))