This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 449c08c15f797bd47dc19cb84dad6e7ec362b92d
Author: Carsten Haitzler <[email protected]>
AuthorDate: Thu Jun 18 14:12:25 2026 +0100

    fix client hash fix to use right array size
    
    how i put the extra sizeof there ... i don't know!
    
    fixes 1eb64ce302bf0ffa1aac3c026d84e82a4a8c56cb
---
 src/bin/e_comp_x.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 3b0579f1f..2de08967f 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -162,7 +162,7 @@ _e_comp_x_focus_check(void)
 static void
 _e_comp_x_hash_add(const unsigned int id, E_Client *ec)
 {
-  const int n = sizeof(sizeof(ec->inhash.entry) / sizeof(ec->inhash.entry[0]));
+  const int n = sizeof(ec->inhash.entry) / sizeof(ec->inhash.entry[0]);
   int i;
 
   for (i = 0; i < n; i++)
@@ -180,7 +180,7 @@ _e_comp_x_hash_add(const unsigned int id, E_Client *ec)
 static void
 _e_comp_x_hash_del(const unsigned int id, E_Client *ec)
 {
-  const int n = sizeof(sizeof(ec->inhash.entry) / sizeof(ec->inhash.entry[0]));
+  const int n = sizeof(ec->inhash.entry) / sizeof(ec->inhash.entry[0]);
   int i;
 
   for (i = 0; i < n; i++)
@@ -198,7 +198,7 @@ _e_comp_x_hash_del(const unsigned int id, E_Client *ec)
 E_API void
 e_comp_x_hash_clear(E_Client *ec)
 {
-  const int n = sizeof(sizeof(ec->inhash.entry) / sizeof(ec->inhash.entry[0]));
+  const int n = sizeof(ec->inhash.entry) / sizeof(ec->inhash.entry[0]);
   int i;
 
   for (i = 0; i < n; i++)
@@ -218,6 +218,7 @@ _e_comp_x_hash_find(const unsigned int id)
 {
    return eina_hash_find(clients_win_hash, &id);
 }
+
 static void
 _e_comp_x_client_modal_setup(E_Client *ec)
 {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to