diff options
Diffstat (limited to 'usr.sbin/nsd/xfrd-disk.c')
-rw-r--r-- | usr.sbin/nsd/xfrd-disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/xfrd-disk.c b/usr.sbin/nsd/xfrd-disk.c index a2f3e8af01d..3fa863077ea 100644 --- a/usr.sbin/nsd/xfrd-disk.c +++ b/usr.sbin/nsd/xfrd-disk.c @@ -371,7 +371,7 @@ static void xfrd_write_dname(FILE* out, uint8_t* dname) for(i=0; i<len; i++) { uint8_t ch = *d++; - if (isalnum(ch) || ch == '-' || ch == '_') { + if (isalnum((unsigned char)ch) || ch == '-' || ch == '_') { fprintf(out, "%c", ch); } else if (ch == '.' || ch == '\\') { fprintf(out, "\\%c", ch); |