1 |
commit: 268c11a1f565820c6f4612cb21770249bf7d41db |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 11 20:16:51 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 11 20:16:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=268c11a1 |
7 |
|
8 |
set: fix signedness warnings |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
libq/set.c | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/libq/set.c b/libq/set.c |
16 |
index 68799fe..f48921a 100644 |
17 |
--- a/libq/set.c |
18 |
+++ b/libq/set.c |
19 |
@@ -77,7 +77,7 @@ static set * |
20 |
add_set_unique(const char *name, set *q, bool *unique) |
21 |
{ |
22 |
char *mname = xstrdup(name); |
23 |
- int hash; |
24 |
+ unsigned int hash; |
25 |
int pos; |
26 |
elem *ll; |
27 |
elem *w; |
28 |
@@ -123,7 +123,7 @@ static bool |
29 |
contains_set(char *s, set *q) |
30 |
{ |
31 |
char *mname = xstrdup(s); |
32 |
- int hash; |
33 |
+ unsigned int hash; |
34 |
int pos; |
35 |
elem *w; |
36 |
bool found; |