summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-05-12 19:52:49 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-05-12 19:52:49 +0100
commitc83b52bab0e06c00c755d07401c09563030961e4 (patch)
tree3f7586637d2aca94f5a0a692eb6cf64d95b8e840 /src/lib/ecore/ecore.c
parent600a1767f685623acaa70c00ff4fa5e09d1631f7 (diff)
ecore - fix 32bit pointer size warnings in debug logs
Diffstat (limited to '')
-rw-r--r--src/lib/ecore/ecore.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 0b4ba4a8fd..a1eeec390e 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -445,13 +445,13 @@ ecore_shutdown(void)
445 #ifdef HAVE_MALLINFO2 445 #ifdef HAVE_MALLINFO2
446 ERR("[%i] Memory MAX total: %lu, free: %lu", 446 ERR("[%i] Memory MAX total: %lu, free: %lu",
447 _ecore_memory_pid, 447 _ecore_memory_pid,
448 _ecore_memory_max_total, 448 (unsigned long)_ecore_memory_max_total,
449 _ecore_memory_max_free); 449 (unsigned long)_ecore_memory_max_free);
450 #else 450 #else
451 ERR("[%i] Memory MAX total: %i, free: %i", 451 ERR("[%i] Memory MAX total: %i, free: %i",
452 _ecore_memory_pid, 452 _ecore_memory_pid,
453 _ecore_memory_max_total, 453 (unsigned long)_ecore_memory_max_total,
454 _ecore_memory_max_free); 454 (unsigned long)_ecore_memory_max_free);
455 #endif 455 #endif
456 456
457#ifdef HAVE_MALLOC_INFO 457#ifdef HAVE_MALLOC_INFO
@@ -1014,13 +1014,13 @@ _ecore_memory_statistic(EINA_UNUSED void *data)
1014#ifdef HAVE_MALLINFO2 1014#ifdef HAVE_MALLINFO2
1015 ERR("[%i] Memory total: %lu, free: %lu", 1015 ERR("[%i] Memory total: %lu, free: %lu",
1016 _ecore_memory_pid, 1016 _ecore_memory_pid,
1017 mi.uordblks, 1017 (unsigned long)mi.uordblks,
1018 mi.fordblks); 1018 (unsigned long)mi.fordblks);
1019#else 1019#else
1020 ERR("[%i] Memory total: %i, free: %i", 1020 ERR("[%i] Memory total: %i, free: %i",
1021 _ecore_memory_pid, 1021 _ecore_memory_pid,
1022 mi.uordblks, 1022 (unsigned long)mi.uordblks,
1023 mi.fordblks); 1023 (unsigned long)mi.fordblks);
1024#endif 1024#endif
1025 } 1025 }
1026 1026