diff options
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/skabus_rpcd_client.c | 5 | ||||
-rw-r--r-- | src/rpc/skabus_rpcd_interface.c | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/rpc/skabus_rpcd_client.c b/src/rpc/skabus_rpcd_client.c index a2c27eb..6e6838c 100644 --- a/src/rpc/skabus_rpcd_client.c +++ b/src/rpc/skabus_rpcd_client.c @@ -43,10 +43,9 @@ static inline void client_delete (uint32_t i, uint32_t prev) genset_delete(clients, i) ; } -static int query_cancelremove_iter (char *s, void *reason) +static int query_cancelremove_iter (void *s, void *reason) { - uint32_t i = *(uint32_t *)s ; - return query_cancelremove(i, *(unsigned char *)reason) ; + return query_cancelremove(*(uint32_t *)s, *(unsigned char *)reason) ; } void client_remove (uint32_t i, uint32_t prev) diff --git a/src/rpc/skabus_rpcd_interface.c b/src/rpc/skabus_rpcd_interface.c index 600b91a..d5838d6 100644 --- a/src/rpc/skabus_rpcd_interface.c +++ b/src/rpc/skabus_rpcd_interface.c @@ -44,10 +44,9 @@ static inline void interface_delete (uint32_t i) strerr_diefu1sys(111, "gensetdyn_delete in interface_delete") ; } -static int query_fail_iter (char *s, void *reason) +static int query_fail_iter (void *s, void *reason) { - uint32_t i = *(uint32_t *)s ; - query_fail(i, *(unsigned char *)reason) ; + query_fail(*(uint32_t *)s, *(unsigned char *)reason) ; return 1 ; } |