1 |
commit: 40ec23a61a89940dca84f0616703cc4f7225f2fd |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 1 21:38:47 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 1 21:38:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=40ec23a6 |
7 |
|
8 |
change reinitialize type |
9 |
|
10 |
We started using negative values in commit 26d038ae9c2f499cfb52486913c, |
11 |
but some targets define "char" as "unsigned". Switch to "int" to avoid |
12 |
that issue. |
13 |
|
14 |
main.c | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/main.c b/main.c |
18 |
index a50b451..8e6d4fd 100644 |
19 |
--- a/main.c |
20 |
+++ b/main.c |
21 |
@@ -31,8 +31,8 @@ int verbose = 0; |
22 |
int quiet = 0; |
23 |
int portcachedir_type = 0; |
24 |
char pretend = 0; |
25 |
-char reinitialize = 0; |
26 |
-char reinitialize_metacache = 0; |
27 |
+static int reinitialize = 0; |
28 |
+static int reinitialize_metacache = 0; |
29 |
static char *portlogdir; |
30 |
static char *main_overlay; |
31 |
static char *portarch; |