$NetBSD: patch-az,v 1.1 2005/12/29 23:31:36 joerg Exp $ --- src/common/msgid.c.orig 2005-12-30 00:11:24.000000000 +0100 +++ src/common/msgid.c @@ -320,9 +320,9 @@ char *s_msgid_rfc_to_fido(int *origid_fl */ node.domain[0] = 0; p = id; - hexflag = isxdigit(*p) && *p!='0'; + hexflag = isxdigit((unsigned char)*p) && *p!='0'; for(p++, i=0; i<7 && *p && *p!='%'; i++, p++) - if(!isxdigit(*p)) + if(!isxdigit((unsigned char)*p)) hexflag = FALSE; if(hexflag && *p=='%') /* Domain part follows */ {