--- np2/calendar.c 2003/10/16 17:57:06 1.1.1.1 +++ np2/calendar.c 2004/02/18 20:11:36 1.3 @@ -8,7 +8,8 @@ _CALENDAR cal; -static const BYTE days[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; +static const UINT8 days[12] = { 31, 28, 31, 30, 31, 30, + 31, 31, 30, 31, 30, 31}; static void secinc(_SYSTIME *dt) { @@ -25,7 +26,7 @@ static void secinc(_SYSTIME *dt) { goto secinc_exit; } dt->minute = 0; - dt->hour = 0; + dt->hour++; if (dt->hour < 24) { goto secinc_exit; }