fix some format string errors
authordiscomfitor <discomfitor>
Thu, 8 Dec 2011 04:21:25 +0000 (04:21 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 8 Dec 2011 04:21:25 +0000 (04:21 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@66016 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/mp/buddy/eina_buddy.c

index b6af521..7d830db 100644 (file)
@@ -239,7 +239,7 @@ static void _statistics(void *data)
 
         printf("Information:\n");
         printf(
-      "size = %li, min_order = %d, max_order = %d, num_order = %d, num_blocks = %d (%luKB)\n",
+      "size = %zu, min_order = %d, max_order = %d, num_order = %d, num_blocks = %d (%uKB)\n",
       b->size,
       b->min_order,
       b->max_order,
@@ -255,7 +255,7 @@ static void _statistics(void *data)
         printf("\n2^%d:", b->min_order + i);
         EINA_INLIST_FOREACH(b->areas[i], block)
         {
-           printf(" %li", (block - &b->blocks[0]));
+           printf(" %d", (block - &b->blocks[0]));
         }
      }
            printf("\nBlocks dumping:\n");