diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-21 21:25:59 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-11-17 02:01:02 +0100 |
commit | 7914ec201ef19fa0c0caed99dc150a953eb9bc19 (patch) | |
tree | 80849aa9cf7f0779c8a5816af0132533816bec74 /Action.c | |
parent | 15eab2012d2100e1ddd20c186db23a8172b5858d (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |