summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-21 21:25:59 +0200
committerBenBE <BenBE@geshi.org>2020-11-17 02:01:02 +0100
commit7914ec201ef19fa0c0caed99dc150a953eb9bc19 (patch)
tree80849aa9cf7f0779c8a5816af0132533816bec74 /Action.c
parent15eab2012d2100e1ddd20c186db23a8172b5858d (diff)
Hashtable update
- use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index 11e87009..822c9174 100644
--- a/Action.c
+++ b/Action.c
@@ -100,7 +100,7 @@ static bool changePriority(MainPanel* panel, int delta) {
return anyTagged;
}
-static void addUserToVector(int key, void* userCast, void* panelCast) {
+static void addUserToVector(hkey_t key, void* userCast, void* panelCast) {
const char* user = userCast;
Panel* panel = panelCast;
Panel_add(panel, (Object*) ListItem_new(user, key));

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