From: Juergen Perlinger Date: Mon, 3 Aug 2015 18:59:21 +0000 (+0200) Subject: [Bug 2888] streamline calendar functions X-Git-Tag: NTP_4_3_74~1^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6f9607ccd599c551110e159f7abcc1be70e10e;p=thirdparty%2Fntp.git [Bug 2888] streamline calendar functions - MSVC compilation issue bk: 55bfba09TyHk5cAc3dRA0XkSR-hfIA --- diff --git a/libntp/ntp_calendar.c b/libntp/ntp_calendar.c index c543a00ad..ff6ead364 100644 --- a/libntp/ntp_calendar.c +++ b/libntp/ntp_calendar.c @@ -79,6 +79,8 @@ # else # define TARGET_HAS_2CPL 0 # endif +# else +# define TARGET_HAS_2CPL 0 # endif #endif @@ -875,7 +877,7 @@ ntpcal_rd_to_date( { ntpcal_split split; int leapy; - uint ymask; + u_int ymask; /* Get day-of-week first. Since rd is signed, the remainder can * be in the range [-6..+6], but the assignment to an unsigned