xbps-install/question.c: char is not enough for fgetc, use int (HI GOTTOX)
This commit is contained in:
parent
efd24456ce
commit
62b21a4f93
@ -40,7 +40,7 @@
|
|||||||
static bool
|
static bool
|
||||||
question(bool preset, const char *fmt, va_list ap)
|
question(bool preset, const char *fmt, va_list ap)
|
||||||
{
|
{
|
||||||
char response;
|
int response;
|
||||||
|
|
||||||
vfprintf(stderr, fmt, ap);
|
vfprintf(stderr, fmt, ap);
|
||||||
if(preset)
|
if(preset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user