(GetPasswd): cast argument to isprint to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12005 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -759,7 +759,7 @@ GetPasswd(Widget w, XEvent *_event, String *_s, Cardinal *_n)
|
||||
prompt_x + XTextWidth(font, STRING, echolen),
|
||||
prompt_y, SPACE_STRING, STRING_LENGTH - echolen + 1);
|
||||
}
|
||||
} else if (isprint(c)) {
|
||||
} else if (isprint((unsigned char)c)) {
|
||||
if ((cnt + 1) >= MAX_PASSWD_LENGTH)
|
||||
XBell(dpy, 50);
|
||||
else
|
||||
|
Reference in New Issue
Block a user