summaryrefslogtreecommitdiffstats
path: root/UsersTable.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2007-04-05 19:53:23 +0000
committerHisham Muhammad <hisham@gobolinux.org>2007-04-05 19:53:23 +0000
commita227b20fefda7d14316523ddd3aa1ce2b439169c (patch)
tree08ddd2b5636ded3fee6ac175c16014986e5d0969 /UsersTable.c
parente3198ca63b0996f4a2e46ab5bbb98650de47ea3e (diff)
Switch to unsigned keys in hash, according to issue #1688290
in the sf tracker
Diffstat (limited to 'UsersTable.c')
-rw-r--r--UsersTable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UsersTable.c b/UsersTable.c
index f738334e..ca33779c 100644
--- a/UsersTable.c
+++ b/UsersTable.c
@@ -35,7 +35,7 @@ void UsersTable_delete(UsersTable* this) {
free(this);
}
-char* UsersTable_getRef(UsersTable* this, int uid) {
+char* UsersTable_getRef(UsersTable* this, unsigned int uid) {
char* name = (char*) (Hashtable_get(this->users, uid));
if (name == NULL) {
struct passwd* userData = getpwuid(uid);

© 2014-2024 Faster IT GmbH | imprint | privacy policy