From 9b0379693dce5e42d3c7753a3466f6f030556f09 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 8 Jun 2022 11:48:13 +0100 Subject: [PATCH] watchdog (currently not used) - fix alloc of right sized ping buf --- src/bin/e_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_watchdog.c b/src/bin/e_watchdog.c index d6aea92f2..9936ac449 100644 --- a/src/bin/e_watchdog.c +++ b/src/bin/e_watchdog.c @@ -26,7 +26,7 @@ _cb_watchdog_thread_pingpong(void *data EINA_UNUSED, Ecore_Thread *thread) while (!ecore_thread_check(thread)) { // send ping - seq_new = malloc(sizeof(unsigned long)); + seq_new = malloc(sizeof(unsigned long long)); if (seq_new) { seq++;