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

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 7e346e7bc252c5a1103f2bcb0a28e30cb265d9eb
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Thu May 30 16:52:55 2024 +0100

    tests - fix calloc num, size
    
    @fix
---
 src/bin/elementary/test_label.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/elementary/test_label.c b/src/bin/elementary/test_label.c
index 9673e80f59..a993e4d45c 100644
--- a/src/bin/elementary/test_label.c
+++ b/src/bin/elementary/test_label.c
@@ -487,7 +487,7 @@ char * get_fit_status(Eo * textblock)
 void
 test_textblock_fit(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
-  app = calloc(sizeof(APP), 1);
+   app = calloc(1, sizeof(APP));
 
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
@@ -616,7 +616,7 @@ static void _btn_clicked_mem(void *data EINA_UNUSED, Eo *obj, void *eventInfo EI
 void
 test_text_memory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
-   app_mem = calloc(sizeof(APP_MEM), 1);
+   app_mem = calloc(1, sizeof(APP_MEM));
 
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 

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

Reply via email to