From 7914ec201ef19fa0c0caed99dc150a953eb9bc19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 21 Oct 2020 21:25:59 +0200 Subject: Hashtable update - use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef --- Action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Action.c') 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)); -- cgit v1.2.3