shithub: drawterm-fdroid

Download patch

ref: e4adfd002653e5abe6e66a9c5b63374cb19b3696
parent: fae0e8ab64b3cbf4e9df14bfc627a89f0ca58dd2
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Dec 18 14:48:24 EST 2021

readcons: force signed char (fixes password entry on arm). consider -fsigned-char instead

--- a/libauthsrv/readcons.c
+++ b/libauthsrv/readcons.c
@@ -8,7 +8,7 @@
 readcons(char *prompt, char *def, int raw)
 {
 	int fdin, fdout, ctl, n;
-	char *s, *p;
+	signed char *s, *p;
 
 	s = p = nil;
 	fdout = ctl = -1;