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

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit 5557ebeb262c51b9b115a7a0b04e3d771f0a8231
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Tue Mar 4 12:07:25 2025 +0100

    fix wrong usage of calloc()
---
 src/bin/gravatar.c   | 2 +-
 src/bin/termptyesc.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/gravatar.c b/src/bin/gravatar.c
index 52d62ea6..0068727d 100644
--- a/src/bin/gravatar.c
+++ b/src/bin/gravatar.c
@@ -72,7 +72,7 @@ gravatar_tooltip(Evas_Object *obj, const Config *config, const char *email)
    if (!config->gravatar)
      return;
 
-   g = calloc(sizeof(Gravatar), 1);
+   g = calloc(1, sizeof(Gravatar));
    if (!g)
      return;
    g->config = config;
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index ada34d78..e80c7bd5 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -3207,7 +3207,7 @@ static void
 _title_icon_stack_push(Termpty *ty, Eina_Unicode **p)
 {
    int arg = _csi_arg_get(ty, p);
-   TitleIconElem *elem = calloc(sizeof(*elem), 1);
+   TitleIconElem *elem = calloc(1, sizeof(*elem));
 
    if (!elem)
      return;

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

Reply via email to