diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-03-11 21:16:51 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-03-11 21:16:51 +0100 |
commit | 268c11a1f565820c6f4612cb21770249bf7d41db (patch) | |
tree | 153cdb375fa523724a678bc69d154fda053eb5e1 | |
parent | tests: fix compilation (diff) | |
download | portage-utils-268c11a1.tar.gz portage-utils-268c11a1.tar.bz2 portage-utils-268c11a1.zip |
set: fix signedness warnings
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | libq/set.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ static set * add_set_unique(const char *name, set *q, bool *unique) { char *mname = xstrdup(name); - int hash; + unsigned int hash; int pos; elem *ll; elem *w; @@ -123,7 +123,7 @@ static bool contains_set(char *s, set *q) { char *mname = xstrdup(s); - int hash; + unsigned int hash; int pos; elem *w; bool found; |