26 lines
664 B
Diff
26 lines
664 B
Diff
From 62b21a4f93a8f3dcc7350630b5bf250af7663757 Mon Sep 17 00:00:00 2001
|
|
From: Juan RP <xtraeme@gmail.com>
|
|
Date: Sat, 21 Mar 2015 09:45:29 +0100
|
|
Subject: [PATCH] xbps-install/question.c: char is not enough for fgetc, use
|
|
int (HI GOTTOX)
|
|
|
|
---
|
|
bin/xbps-install/question.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/bin/xbps-install/question.c b/bin/xbps-install/question.c
|
|
index 1d61af2..bb74214 100644
|
|
--- bin/xbps-install/question.c
|
|
+++ bin/xbps-install/question.c
|
|
@@ -40,7 +40,7 @@
|
|
static bool
|
|
question(bool preset, const char *fmt, va_list ap)
|
|
{
|
|
- char response;
|
|
+ int response;
|
|
|
|
vfprintf(stderr, fmt, ap);
|
|
if(preset)
|
|
--
|
|
2.3.3
|
|
|