watchdog (currently not used) - fix alloc of right sized ping buf

pull/7/head
Carsten Haitzler 2 months ago
parent bc15cd91e8
commit 9b0379693d
  1. 2
      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++;

Loading…
Cancel
Save