<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Hal Murray pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/ed54fa3a5b5ded97ea5cf8bce6470e6f3b2b9e0d">ed54fa3a</a></strong>
<div>
<span>by Hal Murray</span>
<i>at 2015-12-06T04:39:59Z</i>
</div>
<pre class='commit-message'>Fix to work on NetBSD</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2">2a81e6b8</a></strong>
<div>
<span>by Hal Murray</span>
<i>at 2015-12-06T04:40:26Z</i>
</div>
<pre class='commit-message'>More compiler warnings, mostly from NetBSD</pre>
</li>
</ul>
<h4>6 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
include/parse.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
libntp/audio.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
ntpd/refclock_acts.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
ntpd/refclock_jjy.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
ntpq/ntpq.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-5'>
pylib/check_timepps.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2#diff-0'>
<strong>
include/parse.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/include/parse.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/include/parse.h
</span><span style="color: #aaaaaa">@@ -34,7 +34,7 @@
</span> /*
  * some constants useful for GPS time conversion
  */
<span style="color: #000000;background-color: #ffdddd">-#define GPSORIGIN       2524953600                 /* NTP origin - GPS origin in seconds */
</span><span style="color: #000000;background-color: #ddffdd">+#define GPSORIGIN       2524953600u                /* GPS origin - NTP origin in seconds */
</span> #define GPSWRAP         990                        /* assume week count less than this in the previous epoch */
 #define GPSWEEKS        1024                       /* number of weeks until the GPS epch rolls over */
 
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2#diff-1'>
<strong>
libntp/audio.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/audio.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/audio.c
</span><span style="color: #aaaaaa">@@ -46,9 +46,6 @@
</span> /*
  * Global variables
  */
<span style="color: #000000;background-color: #ffdddd">-#ifdef HAVE_SYS_AUDIOIO_H
-static struct audio_device device; /* audio device ident */
-#endif /* HAVE_SYS_AUDIOIO_H */
</span> #ifdef USE_PCM_STYLE_SOUND
 # define INIT_FILE "/etc/ntp.audio"
 int agc =      SOUND_MIXER_WRITE_RECLEV; /* or IGAIN or LINE */
<span style="color: #aaaaaa">@@ -481,6 +478,7 @@ audio_show(void)
</span> 
 #else /* not USE_PCM_STYLE_SOUND */
 # ifdef HAVE_SYS_AUDIOIO_H
<span style="color: #000000;background-color: #ddffdd">+        struct audio_device device; /* audio device ident */
</span>   ioctl(ctl_fd, (int)AUDIO_GETDEV, &device);
        printf("audio: name %s, version %s, config %s\n",
            device.name, device.version, device.config);
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2#diff-2'>
<strong>
ntpd/refclock_acts.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_acts.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_acts.c
</span><span style="color: #aaaaaa">@@ -381,7 +381,7 @@ acts_message(
</span>    */
        strlcpy(tbuf, msg, sizeof(tbuf));
        for (cp = tbuf; cp < tbuf + sizeof(tbuf); cp++)
<span style="color: #000000;background-color: #ffdddd">-            if (isspace(*cp))
</span><span style="color: #000000;background-color: #ddffdd">+       if (isspace((int)*cp))
</span>           *cp = '\0';
 
        switch (up->state) {
</code></pre>

<br>
</li>
<li id='diff-3'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2#diff-3'>
<strong>
ntpd/refclock_jjy.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_jjy.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_jjy.c
</span><span style="color: #aaaaaa">@@ -661,7 +661,7 @@ jjy_receive ( struct recvbuf *rbufp )
</span>                           up->iLineBufLen ++ ;
 
                                /* Copy printable characters */
<span style="color: #000000;background-color: #ffdddd">-                                if ( ! iscntrl( up->sRawBuf[i] ) ) {
</span><span style="color: #000000;background-color: #ddffdd">+                           if ( ! iscntrl( (int)up->sRawBuf[i] ) ) {
</span>                                   up->sTextBuf[up->iTextBufLen] = up->sRawBuf[i] ;
                                        up->iTextBufLen ++ ;
                                }
<span style="color: #aaaaaa">@@ -2691,7 +2691,7 @@ jjy_start_telephone ( int unit, struct peer *peer, struct jjyunit *up )
</span> 
        iNumberOfDigitsOfPhoneNumber = iCommaCount = iCommaPosition = iFirstThreeDigitsCount = 0 ;
        for ( i = 0 ; i < strlen( sys_phone[0] ) ; i ++ ) {
<span style="color: #000000;background-color: #ffdddd">-                if ( isdigit( *(sys_phone[0]+i) ) ) {
</span><span style="color: #000000;background-color: #ddffdd">+           if ( isdigit( (int)*(sys_phone[0]+i) ) ) {
</span>               if ( iFirstThreeDigitsCount < (int)sizeof(sFirstThreeDigits)-1 ) {
                                sFirstThreeDigits[iFirstThreeDigitsCount++] = *(sys_phone[0]+i) ;
                        }
</code></pre>

<br>
</li>
<li id='diff-4'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2#diff-4'>
<strong>
ntpq/ntpq.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpq/ntpq.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpq/ntpq.c
</span><span style="color: #aaaaaa">@@ -3378,7 +3378,7 @@ static void list_md_fn(const EVP_MD *m, const char *from, const char *to, void *
</span>     /* Lowercase names aren't accepted by keytype_from_text in ssl_init.c */
 
     for( cp = name; *cp; cp++ ) {
<span style="color: #000000;background-color: #ffdddd">-        if( islower(*cp) )
</span><span style="color: #000000;background-color: #ddffdd">+   if( islower((int)*cp) )
</span>       return;
     }
     len = (cp - name) + 1;
</code></pre>

<br>
</li>
<li id='diff-5'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2#diff-5'>
<strong>
pylib/check_timepps.py
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/pylib/check_timepps.py
</span><span style="color: #000000;background-color: #ddffdd">+++ b/pylib/check_timepps.py
</span><span style="color: #aaaaaa">@@ -5,6 +5,7 @@ TIMEPPS_FRAG = """
</span> # include <timepps.h>
 #else
 # ifdef HAVE_SYS_TIMEPPS_H
<span style="color: #000000;background-color: #ddffdd">+#  include <sys/time.h>   /* Needed on NetBSD */
</span> #  include <sys/timepps.h>
 # endif
 #endif
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/compare/88a8be7027d0442ec9c6db7bcd0c3061f6789378...2a81e6b8b60f4e0360faaf8d8d611b4aff97ffb2">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.

</p>
</div>
</body>
</html>