]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3065] Quiet warnings on NetBSD (take II)
authorJuergen Perlinger <perlinger@ntp.org>
Sun, 11 Dec 2016 10:53:32 +0000 (11:53 +0100)
committerJuergen Perlinger <perlinger@ntp.org>
Sun, 11 Dec 2016 10:53:32 +0000 (11:53 +0100)
bk: 584d302c7zvlb593OLml4r6aAy1QxA

ntpq/ntpq.c

index edcfa65edfbf94deaf3e2f9e7161af31b09ca9cb..bfc5fa9cfad0fe815e27b3ab3eb6158a1a8fefcc 100644 (file)
@@ -3595,7 +3595,7 @@ static void list_md_fn(const EVP_MD *m, const char *from, const char *to, void *
     /* Lowercase names aren't accepted by keytype_from_text in ssl_init.c */
 
     for( cp = name; *cp; cp++ ) {
-       if( islower((unsigned int)*cp) )
+       if( islower((unsigned char)*cp) )
            return;
     }
     len = (cp - name) + 1;