diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-01-06 19:46:43 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-01-06 19:46:43 +0000 |
commit | 6d2d7e0ea19a6a538a65e63000154198e6bb1493 (patch) | |
tree | 408ffa60b2bdeafdf47f7be9fd7e67a917672bbd /sys/src/libauthsrv | |
parent | b83500663584cec5ddef38fec84115acc6b58955 (diff) |
libauthsrv: deal with signed char in readcons()
Diffstat (limited to 'sys/src/libauthsrv')
-rw-r--r-- | sys/src/libauthsrv/readcons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libauthsrv/readcons.c b/sys/src/libauthsrv/readcons.c index d9a9ead94..345f7b2ff 100644 --- a/sys/src/libauthsrv/readcons.c +++ b/sys/src/libauthsrv/readcons.c @@ -66,7 +66,7 @@ readcons(char *prompt, char *def, int raw) fprint(fdout, "\n%s: ", prompt); while(p > s) *p-- = 0; - } else if(*p >= ' ') + } else if((*p & 0xff) >= ' ') p++; } free(s); |